We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855ea86 commit 630bba7Copy full SHA for 630bba7
manim/mobject/opengl/opengl_vectorized_mobject.py
@@ -283,7 +283,10 @@ def set_stroke(
283
284
if width is not None:
285
for mob in self.get_family(recurse):
286
- mob.stroke_width = np.array([[width] for width in tuplify(width)])
+ if isinstance(width, np.ndarray):
287
+ mob.stroke_width = width
288
+ else:
289
+ mob.stroke_width = np.array([[width] for width in tuplify(width)])
290
291
if background is not None:
292
0 commit comments