Skip to content

Commit 6aac22d

Browse files
author
Margaret Matocha
committed
minor edits of comments and for pylint no-member
1 parent 6a30b32 commit 6aac22d

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

examples/display_text_label_vs_bitmap_label_alternating.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
# Sample code using the textMap library and the "textBox" wrapper class
2-
# Creates four textBox instances
3-
# Inserts each textBox into a tileGrid group
4-
# Writes text into the box one character at a time
5-
# Moves the position of the textBox around the display
6-
# Clears each textBox after the full string is written (even if the text is outside of the box)
1+
# Sample for comparing label and bitmap_label positioning with Builtin or loaded BDF fonts
72

8-
# import textmap
9-
# from textmap import textBox
3+
# pylint: disable=no-member
104

115
import gc
126
import time
@@ -17,10 +11,10 @@
1711

1812
from adafruit_display_text import bitmap_label
1913

20-
# from adafruit_display_text import bitmap_label as Label
21-
2214
from adafruit_display_text import label
2315

16+
# pylint: disable=no-member
17+
2418
# Setup the SPI display
2519
##########
2620
# Use this Boolean variables to select which font style to use

examples/display_text_label_vs_bitmap_label_simpletest.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
# Sample code using the textMap library and the "textBox" wrapper class
2-
# Creates four textBox instances
3-
# Inserts each textBox into a tileGrid group
4-
# Writes text into the box one character at a time
5-
# Moves the position of the textBox around the display
6-
# Clears each textBox after the full string is written (even if the text is outside of the box)
7-
8-
# import textmap
9-
# from textmap import textBox
1+
# Sample for comparing label and bitmap_label memory usage with Builtin or loaded BDF fonts
102

113
import gc
124
import time
@@ -15,6 +7,8 @@
157
import terminalio
168

179

10+
# pylint: disable=no-member
11+
1812
##########
1913
# Use these Boolean variables to select the text display library and which font style to use
2014
##########

0 commit comments

Comments
 (0)