Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed type hint for an argument of :class:`~.MoveAlongPath` (#2377)

Kiran-Raj-Devedccb3f6277b
diff --git a/manim/animation/movement.py b/manim/animation/movement.py
index ed7b4f6bf..409dab85a 100644
--- a/manim/animation/movement.py
+++ b/manim/animation/movement.py
@@ -131,7 +131,7 @@ class MoveAlongPath(Animation):
def __init__(
self,
mobject: "Mobject",
- path: np.ndarray,
+ path: "VMobject",
suspend_mobject_updating: Optional[bool] = False,
**kwargs
) -> None: