From 8f97fc1b1fd5df0f533e5c42f860cd4e84c19b16 Mon Sep 17 00:00:00 2001 From: Alex Kempen Date: Thu, 6 Apr 2023 10:41:41 -0500 Subject: [PATCH 1/2] Fixed animation misspelling in Mobject's add_animation_override --- manim/mobject/mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py index b9ef39af88..72382a622f 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -160,7 +160,7 @@ def add_animation_override( The animation type to be overridden override_func The function returning an animation replacing the default animation. It gets - passed the parameters given to the animnation constructor. + passed the parameters given to the animation constructor. Raises ------ From 1ef93cdb0f6106d63f73457ba5ef88a43ee7c497 Mon Sep 17 00:00:00 2001 From: Alex Kempen Date: Thu, 6 Apr 2023 10:45:47 -0500 Subject: [PATCH 2/2] Corrected angle types of Arc --- manim/mobject/geometry/arc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manim/mobject/geometry/arc.py b/manim/mobject/geometry/arc.py index 894ca3d02b..1280d2b25d 100644 --- a/manim/mobject/geometry/arc.py +++ b/manim/mobject/geometry/arc.py @@ -282,8 +282,8 @@ def construct(self): def __init__( self, radius: float = 1.0, - start_angle=0, - angle=TAU / 4, + start_angle: float = 0, + angle: float = TAU / 4, num_components=9, arc_center=ORIGIN, **kwargs,