Skip to content

Commit 047c60a

Browse files
committed
Merge pull request matplotlib#3217 from JulianCienfuegos/master
Added some function arguments to the documentation for FuncAnimation
2 parents 5a2664b + 8169a39 commit 047c60a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: lib/matplotlib/animation.py

+7
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,13 @@ class FuncAnimation(TimedAnimation):
10021002
10031003
If blit=True, *func* and *init_func* should return an iterable of
10041004
drawables to clear.
1005+
1006+
*kwargs* include *repeat*, *repeat_delay*, and *interval*:
1007+
*interval* draws a new frame every *interval* milliseconds.
1008+
*repeat* controls whether the animation should repeat when the sequence
1009+
of frames is completed.
1010+
*repeat_delay* optionally adds a delay in milliseconds before repeating
1011+
the animation.
10051012
'''
10061013
def __init__(self, fig, func, frames=None, init_func=None, fargs=None,
10071014
save_count=None, **kwargs):

0 commit comments

Comments
 (0)