From 173d8651b9b80d557b99bebba51db41e574ee7df Mon Sep 17 00:00:00 2001 From: JasonGrace2282 Date: Wed, 20 Dec 2023 20:19:00 -0500 Subject: [PATCH] Fixed Animate Type-hint --- 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