Skip to content

Commit c615ccf

Browse files
authored
pybricks._common: Fix parameter name in LightMatrix.orientation().
The parameter `up` was named `top` here, which does not reflect the state of the current code. See https://github.com/pybricks/pybricks-micropython/blob/master/pybricks/common/pb_type_lightmatrix.c#L59C25 for usage in the code itself.
1 parent 32f974e commit c615ccf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pybricks/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def orientation(self, up: Side) -> None:
828828
contents remain unchanged.
829829
830830
Arguments:
831-
top (Side): Which side of the light matrix display is "up" in your
831+
up (Side): Which side of the light matrix display is "up" in your
832832
design. Choose ``Side.TOP``, ``Side.LEFT``, ``Side.RIGHT``,
833833
or ``Side.BOTTOM``.
834834
"""

0 commit comments

Comments
 (0)