Skip to content

Commit

Permalink
chore: add doc-string of set_anim_args
Browse files Browse the repository at this point in the history
  • Loading branch information
widcardw committed Sep 11, 2022
1 parent a613099 commit 2f69135
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions manimlib/mobject/mobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,18 @@ def update_target(*method_args, **method_kwargs):
return update_target

def set_anim_args(self, **kwargs):
'''
You can change the args of :class:`~manimlib.animation.transform.Transform`, such as
- ``run_time``
- ``time_span``
- ``rate_func``
- ``lag_ratio``
- ``path_arc``
- ``path_func``
and so on.
'''
self.anim_args = kwargs
return self

Expand Down

0 comments on commit 2f69135

Please sign in to comment.