From dd327a37ca7876b7e68c6633a8f76d3cc3c1842c Mon Sep 17 00:00:00 2001 From: Jason Grace <110117391+JasonGrace2282@users.noreply.github.com> Date: Wed, 20 Dec 2023 20:37:24 -0500 Subject: [PATCH] Fixed Animate Type-hint (#3543) --- 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 3051b161e6..0b4dbbc787 100644 --- a/manim/mobject/mobject.py +++ b/manim/mobject/mobject.py @@ -238,7 +238,7 @@ def construct(self): cls.__init__ = cls._original__init__ @property - def animate(self) -> _AnimationBuilder | T: + def animate(self: T) -> _AnimationBuilder | T: """Used to animate the application of any method of :code:`self`. Any method called on :code:`animate` is converted to an animation of applying