Skip to content

Commit b6a8632

Browse files
committed
Ran black, fixed pylint import error in examples
1 parent 90e617a commit b6a8632

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

adafruit_display_shapes/sparkline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
class 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

examples/display_shapes_sparkline_ticks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
import board
3232
import displayio
3333
import terminalio
34+
from adafruit_display_text import label
3435
from adafruit_display_shapes.sparkline import Sparkline
3536
from adafruit_display_shapes.line import Line
3637
from adafruit_display_shapes.rect import Rect
37-
from adafruit_display_text import label
38+
3839

3940
if "DISPLAY" not in dir(board):
4041
# Setup the LCD display with driver

0 commit comments

Comments
 (0)