A community-maintained Python framework for creating mathematical animations.
Fix wrong type annotation of Animation._on_finish (#4812)
GniLudio34124c3f60ca
diff --git a/manim/animation/animation.py b/manim/animation/animation.pyindex cf0248284..2b60bf9fc 100644--- a/manim/animation/animation.py+++ b/manim/animation/animation.py@@ -137,7 +137,7 @@ class Animation:suspend_mobject_updating: bool = True,introducer: bool = False,*,- _on_finish: Callable[[], None] = lambda _: None,+ _on_finish: Callable[[Scene], None] = lambda _: None,use_override: bool = True, # included here to avoid TypeError if passed from a subclass' constructor) -> None:self._typecheck_input(mobject)