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 fd656fc commit 161b99bCopy full SHA for 161b99b
adafruit_display_text/bitmap_label.py
@@ -39,7 +39,7 @@
39
40
from adafruit_display_text import LabelBase
41
42
-
+# pylint: disable=too-many-instance-attributes
43
class Label(LabelBase):
44
"""A label displaying a string of text that is stored in a bitmap.
45
Note: This ``bitmap_label.py`` library utilizes a :py:class:`~displayio.Bitmap`
@@ -236,8 +236,8 @@ def _reset_text(
236
237
# Set TileGrid properties based on label_direction
238
if self._label_direction != self._prev_label_direction:
239
- tg = self._tilegrid
240
- tg.transpose_xy, tg.flip_x, tg.flip_y = self._DIR_MAP[
+ tg1 = self._tilegrid
+ tg1.transpose_xy, tg1.flip_x, tg1.flip_y = self._DIR_MAP[
241
self._label_direction
242
]
243
0 commit comments