Skip to content

Commit 8169a39

Browse files
committed
Added some function arguments to the documentation for FuncAnimation
1 parent 48e8052 commit 8169a39

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/animation.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,13 @@ class FuncAnimation(TimedAnimation):
977977
978978
If blit=True, *func* and *init_func* should return an iterable of
979979
drawables to clear.
980+
981+
*kwargs* include *repeat*, *repeat_delay*, and *interval*:
982+
*interval* draws a new frame every *interval* milliseconds.
983+
*repeat* controls whether the animation should repeat when the sequence
984+
of frames is completed.
985+
*repeat_delay* optionally adds a delay in milliseconds before repeating
986+
the animation.
980987
'''
981988
def __init__(self, fig, func, frames=None, init_func=None, fargs=None,
982989
save_count=None, **kwargs):

0 commit comments

Comments
 (0)