Skip to content

Commit

Permalink
Fixed Animate Type-hint (#3543)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 committed Dec 21, 2023
1 parent 8ea8f25 commit dd327a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manim/mobject/mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd327a3

Please sign in to comment.