From c615ccf986070efa113ec92d227abd77e6f9b0bd Mon Sep 17 00:00:00 2001 From: JoBe <165585785+JoBeGaming@users.noreply.github.com> Date: Mon, 30 Mar 2026 00:41:34 +0200 Subject: [PATCH] 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. --- src/pybricks/_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybricks/_common.py b/src/pybricks/_common.py index bb98aa5..3424a48 100644 --- a/src/pybricks/_common.py +++ b/src/pybricks/_common.py @@ -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``. """