We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957335c commit 1f42993Copy full SHA for 1f42993
adafruit_display_text/bitmap_label.py
@@ -228,9 +228,9 @@ def _reset_text(
228
0, # zero width with text == ""
229
0, # zero height with text == ""
230
)
231
- # Clear out any items in the self Group, in case this is an update to the bitmap_label
232
- for _ in self:
233
- self.pop(0)
+ # Clear out any items in the self.local_group Group, in case this is an update to the bitmap_label
+ for _ in self.local_group:
+ self.local_group.pop(0)
234
235
else: # The text string is not empty, so create the Bitmap and TileGrid and
236
# append to the self Group
0 commit comments