Skip to content

Commit bcd7c65

Browse files
committed
docstring fix for new sphinx
1 parent 28b3879 commit bcd7c65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

adafruit_display_text/bitmap_label.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,24 @@ class Label(displayio.Group):
6666
Must include a capital M for measuring character size.
6767
:param str text: Text to display
6868
:param int max_glyphs: Unnecessary parameter (provided only for direct compability
69-
with label.py)
69+
with label.py)
7070
:param int color: Color of all text in RGB hex
7171
:param int background_color: Color of the background, use `None` for transparent
7272
:param double line_spacing: Line spacing of text to display
7373
:param boolean background_tight: Set `True` only if you want background box to tightly
74-
surround text
74+
surround text
7575
:param int padding_top: Additional pixels added to background bounding box at top
7676
:param int padding_bottom: Additional pixels added to background bounding box at bottom
7777
:param int padding_left: Additional pixels added to background bounding box at left
7878
:param int padding_right: Additional pixels added to background bounding box at right
7979
:param (double,double) anchor_point: Point that anchored_position moves relative to.
80-
Tuple with decimal percentage of width and height.
81-
(E.g. (0,0) is top left, (1.0, 0.5): is middle right.)
80+
Tuple with decimal percentage of width and height.
81+
(E.g. (0,0) is top left, (1.0, 0.5): is middle right.)
8282
:param (int,int) anchored_position: Position relative to the anchor_point. Tuple
83-
containing x,y pixel coordinates.
83+
containing x,y pixel coordinates.
8484
:param int scale: Integer value of the pixel scaling
8585
:param bool save_text: Set True to save the text string as a constant in the
86-
label structure. Set False to reduce memory use.
86+
label structure. Set False to reduce memory use.
8787
"""
8888

8989
# pylint: disable=unused-argument, too-many-instance-attributes, too-many-locals, too-many-arguments

0 commit comments

Comments
 (0)