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 02f32f0

Browse filesBrowse files
committed
Backport PR #16532: Document default value of save_count parameter in FuncAnimation
Merge pull request #16532 from timhoffm/doc-save_count DOC: Document default value of save_count parameter in FuncAnimation Conflicts: lib/matplotlib/animation.py - collision with removing "optional" from docstrings
1 parent 0900819 commit 02f32f0
Copy full SHA for 02f32f0

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-2
lines changed

‎lib/matplotlib/animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/animation.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,8 +1615,10 @@ def init_func() -> iterable_of_artists
16151615
fargs : tuple or None, optional
16161616
Additional arguments to pass to each call to *func*.
16171617
1618-
save_count : int, optional
1619-
The number of values from *frames* to cache.
1618+
save_count : int, default: 100
1619+
Fallback for the number of values from *frames* to cache. This is
1620+
only used if the number of frames cannot be inferred from *frames*,
1621+
i.e. when it's an iterator without length or a generator.
16201622
16211623
interval : number, optional
16221624
Delay between frames in milliseconds. Defaults to 200.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.