Skip to content

Commit 173d0c5

Browse files
author
Margaret Matocha
committed
updated spacing in header and deleted one tab, thanks foamyguy
1 parent ed64879 commit 173d0c5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

adafruit_display_text/label.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@
2222
"""
2323
`adafruit_display_text.label`
2424
====================================================
25+
2526
Displays text labels using CircuitPython's displayio.
27+
2628
* Author(s): Scott Shawcroft
29+
2730
Implementation Notes
2831
--------------------
32+
2933
**Hardware:**
3034
**Software and Dependencies:**
35+
3136
* Adafruit CircuitPython firmware for the supported boards:
3237
https://github.com/adafruit/circuitpython/releases
38+
3339
"""
3440

3541
import displayio
@@ -43,17 +49,14 @@ class Label(displayio.Group):
4349
properties will be the left edge of the bounding box, and in the center of a M
4450
glyph (if its one line), or the (number of lines * linespacing + M)/2. That is,
4551
it will try to have it be center-left as close as possible.
46-
52+
4753
:param Font font: A font class that has ``get_bounding_box`` and ``get_glyph``.
4854
Must include a capital M for measuring character size.
4955
:param str text: Text to display
5056
:param int max_glyphs: The largest quantity of glyphs we will display
5157
:param int color: Color of all text in RGB hex
5258
:param double line_spacing: Line spacing of text to display"""
5359

54-
# pylint: disable=too-many-instance-attributes
55-
# This has several getters and setters, maybe needs to be cleaned up.
56-
5760
def __init__(
5861
self,
5962
font,

0 commit comments

Comments
 (0)