mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
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.
This commit is contained in:
@@ -828,7 +828,7 @@ class LightMatrix:
|
||||
contents remain unchanged.
|
||||
|
||||
Arguments:
|
||||
top (Side): Which side of the light matrix display is "up" in your
|
||||
up (Side): Which side of the light matrix display is "up" in your
|
||||
design. Choose ``Side.TOP``, ``Side.LEFT``, ``Side.RIGHT``,
|
||||
or ``Side.BOTTOM``.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user