Skip to content

Commit 43398ef

Browse files
committed
cleanup comments leftover from refactor
1 parent b13a29c commit 43398ef

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

adafruit_display_text/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ def __init__(
211211
self._anchor_point = anchor_point
212212
self._anchored_position = anchored_position
213213

214+
# local group will hold background and text
215+
# the self group scale should always remain at 1, the self.local_group will
216+
# be used to set the scale of the label
214217
self.local_group = None
215218

216219
self._text = text

adafruit_display_text/bitmap_label.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ def __init__(self, font, **kwargs):
8181

8282
super().__init__(font, **kwargs)
8383

84-
# instance the Group
85-
# self Group will contain a single local_group which contains a Group (self.local_group)
86-
# which contains a TileGrid (self.tilegrid) which contains the text bitmap (self.bitmap)
87-
88-
# the self group scale should always remain at 1, the self.local_group will
89-
# be used to set the scale
90-
# **kwargs will pass any additional arguments provided to the Label
91-
9284
self.local_group = displayio.Group(
9385
max_size=1, scale=kwargs.get("scale", 1)
9486
) # local_group holds the tileGrid and sets the scaling

adafruit_display_text/label.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ def __init__(self, font, **kwargs):
8080
max_glyphs = len(text)
8181
# add one to max_size for the background bitmap tileGrid
8282

83-
# instance the Group
84-
# self Group will contain a single local_group which contains a Group (self.local_group)
85-
# which contains a TileGrid
86-
# The self scale should always be 1
87-
8883
# local_group will set the scale
8984
self.local_group = displayio.Group(
9085
max_size=max_glyphs + 1, scale=kwargs.get("scale", 1)

0 commit comments

Comments
 (0)