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 4040
4141class Sparkline (displayio .Group ):
4242 # pylint: disable=too-many-arguments
43- """ A sparkline graph.
43+ """A sparkline graph.
4444
4545 :param width: Width of the sparkline graph in pixels
4646 :param height: Height of the sparkline graph in pixels
@@ -86,7 +86,7 @@ def __init__(
8686 ) # self is a group of lines
8787
8888 def add_value (self , value ):
89- """ Add a value to the sparkline.
89+ """Add a value to the sparkline.
9090 :param value: The value to be added to the sparkline
9191 """
9292
Original file line number Diff line number Diff line change 3131import board
3232import displayio
3333import terminalio
34+ from adafruit_display_text import label
3435from adafruit_display_shapes .sparkline import Sparkline
3536from adafruit_display_shapes .line import Line
3637from adafruit_display_shapes .rect import Rect
37- from adafruit_display_text import label
38+
3839
3940if "DISPLAY" not in dir (board ):
4041 # Setup the LCD display with driver
You can’t perform that action at this time.
0 commit comments