Skip to content

Commit eadaf9f

Browse files
committed
Correct errors in documentation strings (delete excess spaces)
1 parent f2c84b0 commit eadaf9f

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

adafruit_display_shapes/sparkline.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ class Sparkline(displayio.Group):
4242
# pylint: disable=too-many-arguments
4343
""" A sparkline graph.
4444
45-
: param width: Width of the sparkline graph in pixels
46-
: param height: Height of the sparkline graph in pixels
47-
: param max_items: Maximum number of values housed in the sparkline
48-
: param y_min: Lower range for the y-axis. Set to None for autorange.
49-
: param y_max: Upper range for the y-axis. Set to None for autorange.
50-
: param x: X-position on the screen, in pixels
51-
: param y: Y-position on the screen, in pixels
52-
: param color: Line color, the default value is 0xFFFFFF (WHITE)
45+
:param width: Width of the sparkline graph in pixels
46+
:param height: Height of the sparkline graph in pixels
47+
:param max_items: Maximum number of values housed in the sparkline
48+
:param y_min: Lower range for the y-axis. Set to None for autorange.
49+
:param y_max: Upper range for the y-axis. Set to None for autorange.
50+
:param x: X-position on the screen, in pixels
51+
:param y: Y-position on the screen, in pixels
52+
:param color: Line color, the default value is 0xFFFFFF (WHITE)
5353
"""
5454

5555
def __init__(
@@ -87,7 +87,7 @@ def __init__(
8787

8888
def add_value(self, value):
8989
""" Add a value to the sparkline.
90-
: param value: The value to be added to the sparkline
90+
:param value: The value to be added to the sparkline
9191
"""
9292

9393
if value is not None:
@@ -212,7 +212,6 @@ def update(self):
212212
last_value = value # store value for the next iteration
213213

214214
def values(self):
215-
"""Returns the values displayed on the sparkline
216-
"""
215+
"""Returns the values displayed on the sparkline"""
217216

218217
return self._spark_list

0 commit comments

Comments
 (0)