Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23739dc

Browse files
committed
Merge pull request matplotlib#1887 from alito/master
Clarify documentation for FuncAnimation
2 parents 6cda361 + 644aac6 commit 23739dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/matplotlib/animation.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,10 @@ class FuncAnimation(TimedAnimation):
952952
953953
*init_func* is a function used to draw a clear frame. If not given, the
954954
results of drawing from the first item in the frames sequence will be
955-
used.
955+
used. This function will be called once before the first frame.
956+
957+
If blit=True, *func* and *init_func* should return an iterable of
958+
drawables to clear.
956959
'''
957960
def __init__(self, fig, func, frames=None, init_func=None, fargs=None,
958961
save_count=None, **kwargs):

0 commit comments

Comments
 (0)