File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
adafruit_led_animation/animation Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ class Comet(Animation):
42
42
maximum of the length of the ``pixel_object``.
43
43
:param bool reverse: Animates the comet in the reverse order. Defaults to ``False``.
44
44
:param bool bounce: Comet will bounce back and forth. Defaults to ``True``.
45
+ :param Optional[string] name: A human-readable name for the Animation.
46
+ Used by the to string function.
45
47
:param bool ring: Ring mode. Defaults to ``False``.
46
48
"""
47
49
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ class MulticolorComet(Comet):
42
42
maximum of the length of the ``pixel_object``.
43
43
:param bool reverse: Animates the comet in the reverse order. Defaults to ``False``.
44
44
:param bool bounce: Comet will bounce back and forth. Defaults to ``True``.
45
+ :param Optional[string] name: A human-readable name for the Animation.
46
+ Used by the to string function.
45
47
:param bool ring: Ring mode. Defaults to ``False``.
46
48
:param bool off_pixels: Turn pixels off after the animation passes them. Defaults to ``True``.
47
49
Setting to False will result in all pixels not currently in the comet
@@ -54,6 +56,7 @@ def __init__(
54
56
pixel_object ,
55
57
speed ,
56
58
colors ,
59
+ * ,
57
60
tail_length = 0 ,
58
61
reverse = False ,
59
62
bounce = False ,
You can’t perform that action at this time.
0 commit comments