diff --git a/src/pybricks/_common.py b/src/pybricks/_common.py index e9d0e5b..6a0b025 100644 --- a/src/pybricks/_common.py +++ b/src/pybricks/_common.py @@ -671,7 +671,7 @@ class LightMatrix: forever while the rest of your program keeps running. Arguments: - matrix (list): List of Matrix of intensities. + matrices (list): List of Matrix of intensities. interval (:ref:`time`): Time to display each image in the list. """ pass diff --git a/src/pybricks/_common.pyi b/src/pybricks/_common.pyi index 5c4ab78..43f4061 100644 --- a/src/pybricks/_common.pyi +++ b/src/pybricks/_common.pyi @@ -110,7 +110,7 @@ class ColorLight: class LightArray: def __init__(self, n: int): ... - def on(self, brightness: int) -> None: ... + def on(self, brightness: Union[int,(int, int, int, int)]) -> None: ... def off(self) -> None: ... def blink(self, durations: Collection[int]) -> None: ... def animate(self, brightness_values: Collection[int], interval: int) -> None: ... @@ -119,7 +119,7 @@ class LightMatrix: def __init__(self, rows: int, columns: int): ... def orientation(self, up: Side) -> None: ... def image(self, matrix: Matrix) -> None: ... - def animate(self, matrices: Collection[Matrix], interval, int) -> None: ... + def animate(self, matrices: Collection[Matrix], interval: int) -> None: ... def pixel(self, row: int, column: int, brightness: int = 100) -> None: ... def off(self) -> None: ... def number(self, number: int) -> None: ...