Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 23739dc

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎lib/matplotlib/animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/animation.py
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.