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 05594ec commit b9367a2Copy full SHA for b9367a2
manim/mobject/svg/brace.py
@@ -335,10 +335,12 @@ def construct(self):
335
336
def __init__(
337
self,
338
- arc: Arc = Arc(start_angle=-1, angle=2, radius=1),
+ arc: Arc | None = None,
339
direction: Sequence[float] = RIGHT,
340
**kwargs,
341
):
342
+ if arc is None:
343
+ arc = Arc(start_angle=-1, angle=2, radius=1)
344
arc_end_angle = arc.start_angle + arc.angle
345
line = Line(UP * arc.start_angle, UP * arc_end_angle)
346
scale_shift = RIGHT * np.log(arc.radius)
0 commit comments