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

Skip to content

Commit 02f32f0

Browse 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

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/matplotlib/animation.py

Lines 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)