Skip to content

Commit 0d3464c

Browse files
authored
Bugfix: Fix arc start angle type (ManimCommunity#3205)
* Fixed animation misspelling in Mobject's add_animation_override * Corrected angle types of Arc
1 parent f56723a commit 0d3464c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manim/mobject/geometry/arc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def construct(self):
282282
def __init__(
283283
self,
284284
radius: float = 1.0,
285-
start_angle=0,
286-
angle=TAU / 4,
285+
start_angle: float = 0,
286+
angle: float = TAU / 4,
287287
num_components=9,
288288
arc_center=ORIGIN,
289289
**kwargs,

manim/mobject/mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def add_animation_override(
160160
The animation type to be overridden
161161
override_func
162162
The function returning an animation replacing the default animation. It gets
163-
passed the parameters given to the animnation constructor.
163+
passed the parameters given to the animation constructor.
164164
165165
Raises
166166
------

0 commit comments

Comments
 (0)