Skip to content

Commit 2e07769

Browse files
committed
Updated background_color to also take None
1 parent b82c63b commit 2e07769

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Label(LabelBase):
5656
:type font: ~FontProtocol
5757
:param str text: Text to display
5858
:param int|Tuple(int, int, int) color: Color of all text in HEX or RGB
59-
:param int|Tuple(int, int, int) background_color: Color of the background, use `None`
59+
:param int|Tuple(int, int, int)|None background_color: Color of the background, use `None`
6060
for transparent
6161
:param float line_spacing: Line spacing of text to display
6262
:param bool background_tight: Set `True` only if you want background box to tightly

adafruit_display_text/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Label(LabelBase):
4949
:type font: ~FontProtocol
5050
:param str text: Text to display
5151
:param int|Tuple(int, int, int) color: Color of all text in HEX or RGB
52-
:param int|Tuple(int, int, int) background_color: Color of the background, use `None`
52+
:param int|Tuple(int, int, int)|None background_color: Color of the background, use `None`
5353
for transparent
5454
:param float line_spacing: Line spacing of text to display
5555
:param bool background_tight: Set `True` only if you want background box to tightly

0 commit comments

Comments
 (0)