Skip to content

Commit 1dfe695

Browse files
committed
docstring format
1 parent 82b4b31 commit 1dfe695

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

adafruit_display_text/bitmap_label.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class Label(displayio.Group):
4949
Must include a capital M for measuring character size.
5050
:param str text: Text to display
5151
:param int max_glyphs: Unnecessary parameter (provided only for direct compability
52-
with label.py)
52+
with label.py)
5353
:param int color: Color of all text in RGB hex
5454
:param int background_color: Color of the background, use `None` for transparent
5555
:param double line_spacing: Line spacing of text to display
5656
:param boolean background_tight: Set `True` only if you want background box to tightly
57-
surround text
57+
surround text
5858
:param int padding_top: Additional pixels added to background bounding box at top
5959
:param int padding_bottom: Additional pixels added to background bounding box at bottom
6060
:param int padding_left: Additional pixels added to background bounding box at left
@@ -63,11 +63,10 @@ class Label(displayio.Group):
6363
Tuple with decimal percentage of width and height.
6464
(E.g. (0,0) is top left, (1.0, 0.5): is middle right.)
6565
:param (int,int) anchored_position: Position relative to the anchor_point. Tuple
66-
containing x,y pixel coordinates.
66+
containing x,y pixel coordinates.
6767
:param int scale: Integer value of the pixel scaling
6868
:param bool save_text: Set True to save the text string as a constant in the
69-
label structure. Set False to reduce memory use.
70-
"""
69+
label structure. Set False to reduce memory use."""
7170

7271
# pylint: disable=unused-argument, too-many-instance-attributes, too-many-locals, too-many-arguments
7372
# pylint: disable=too-many-branches, no-self-use, too-many-statements

0 commit comments

Comments
 (0)