Skip to content

Commit 7662e2b

Browse files
black-ed
1 parent 9feabbc commit 7662e2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastplotlib/graphics/_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ def rotate(self, alpha: float, axis: Literal["x", "y", "z"] = "y"):
222222
elif axis == "z":
223223
rot = la.quat_from_euler((0, alpha), order="XZ")
224224
else:
225-
raise ValueError(f"`axis` must be either `x`, `y`, or `z`. `{axis}` provided instead!")
225+
raise ValueError(
226+
f"`axis` must be either `x`, `y`, or `z`. `{axis}` provided instead!"
227+
)
226228
self.rotation = la.quat_mul(rot, self.rotation)
227229

228230

0 commit comments

Comments
 (0)