mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
pybricks._common: Renamed incorrect argument name, fixed tuple type.
This commit is contained in:
committed by
laurensvalk
parent
efc1650e7f
commit
70aa5ee0e2
@@ -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
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user