Skip to content

Commit a0f9781

Browse files
committed
Document default value of save_count parameter in FuncAnimation
1 parent 3a8e75e commit a0f9781

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
@@ -1577,8 +1577,10 @@ def init_func() -> iterable_of_artists
15771577
fargs : tuple or None, optional
15781578
Additional arguments to pass to each call to *func*.
15791579
1580-
save_count : int, optional
1581-
The number of values from *frames* to cache.
1580+
save_count : int, default: 100
1581+
Fallback for the number of values from *frames* to cache. This is
1582+
only used if the number of frames cannot be inferred from *frames*,
1583+
i.e. when it's an iterator without length or a generator.
15821584
15831585
interval : int, default: 200
15841586
Delay between frames in milliseconds.

0 commit comments

Comments
 (0)