File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 40
40
41
41
class Sparkline (displayio .Group ):
42
42
# pylint: disable=too-many-arguments
43
- """ A sparkline graph.
43
+ """A sparkline graph.
44
44
45
45
:param width: Width of the sparkline graph in pixels
46
46
:param height: Height of the sparkline graph in pixels
@@ -86,7 +86,7 @@ def __init__(
86
86
) # self is a group of lines
87
87
88
88
def add_value (self , value ):
89
- """ Add a value to the sparkline.
89
+ """Add a value to the sparkline.
90
90
:param value: The value to be added to the sparkline
91
91
"""
92
92
Original file line number Diff line number Diff line change 31
31
import board
32
32
import displayio
33
33
import terminalio
34
+ from adafruit_display_text import label
34
35
from adafruit_display_shapes .sparkline import Sparkline
35
36
from adafruit_display_shapes .line import Line
36
37
from adafruit_display_shapes .rect import Rect
37
- from adafruit_display_text import label
38
+
38
39
39
40
if "DISPLAY" not in dir (board ):
40
41
# Setup the LCD display with driver
You can’t perform that action at this time.
0 commit comments