Skip to content

Commit 95a822a

Browse files
Refactor label __init__
1 parent 915b360 commit 95a822a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

adafruit_display_text/label.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ def __init__(self, font, **kwargs) -> None:
8888
text = self._replace_tabs(self._text)
8989

9090
self.width = len(text)
91-
self._font = font
92-
self._text = None
93-
9491
self.height = self._font.get_bounding_box()[1]
95-
self._bounding_box = None
9692

9793
# Create the two-color text palette
9894
self._palette[0] = 0

0 commit comments

Comments
 (0)