Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Bugfix: Fix arc start angle type (#3205)

Alex Kempen0d3464cff224
diff --git a/manim/mobject/geometry/arc.py b/manim/mobject/geometry/arc.py
index 3b8e22859..395ae6029 100644
--- a/manim/mobject/geometry/arc.py
+++ b/manim/mobject/geometry/arc.py
@@ -282,8 +282,8 @@ class Arc(TipableVMobject):
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,
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py
index b9ef39af8..72382a622 100644
--- a/manim/mobject/mobject.py
+++ b/manim/mobject/mobject.py
@@ -160,7 +160,7 @@ class Mobject:
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
------