From a2c36c659a1e7c4dd50beee5ddd514336a578885 Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Sun, 22 Jan 2023 14:50:21 -0600 Subject: [PATCH] fix doc of `bounce` Fix documentation of the default `bounce` value for `Comet` and `RainbowComet`. Signed-off-by: Taylor Yu --- adafruit_led_animation/animation/comet.py | 2 +- adafruit_led_animation/animation/rainbowcomet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_led_animation/animation/comet.py b/adafruit_led_animation/animation/comet.py index 72b681a..ab32e70 100644 --- a/adafruit_led_animation/animation/comet.py +++ b/adafruit_led_animation/animation/comet.py @@ -41,7 +41,7 @@ class Comet(Animation): ``pixel_object``. Automatically compensates for a minimum of 2 and a maximum of the length of the ``pixel_object``. :param bool reverse: Animates the comet in the reverse order. Defaults to ``False``. - :param bool bounce: Comet will bounce back and forth. Defaults to ``True``. + :param bool bounce: Comet will bounce back and forth. Defaults to ``False``. :param bool ring: Ring mode. Defaults to ``False``. """ diff --git a/adafruit_led_animation/animation/rainbowcomet.py b/adafruit_led_animation/animation/rainbowcomet.py index 1099307..903fc7c 100644 --- a/adafruit_led_animation/animation/rainbowcomet.py +++ b/adafruit_led_animation/animation/rainbowcomet.py @@ -40,7 +40,7 @@ class RainbowComet(Comet): pixels present in the pixel object, e.g. if the strip is 30 pixels long, the ``tail_length`` cannot exceed 30 pixels. :param bool reverse: Animates the comet in the reverse order. Defaults to ``False``. - :param bool bounce: Comet will bounce back and forth. Defaults to ``True``. + :param bool bounce: Comet will bounce back and forth. Defaults to ``False``. :param int colorwheel_offset: Offset from start of colorwheel (0-255). :param int step: Colorwheel step (defaults to automatic). :param bool ring: Ring mode. Defaults to ``False``.