8000 Merge pull request #16543 from tacaswell/auto-backport-of-pr-16532-on… · matplotlib/matplotlib@26e5801 · GitHub
[go: up one dir, main page]

Skip to content

Commit 26e5801

Browse files
authored
Merge pull request #16543 from tacaswell/auto-backport-of-pr-16532-on-v3.2.x
Backport PR #16532: Document default value of save_count parameter in…
2 parents 0900819 + 02f32f0 commit 26e5801

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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