diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index d4057a19f574..2cd5f438037e 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -1615,8 +1615,10 @@ def init_func() -> iterable_of_artists fargs : tuple or None, optional Additional arguments to pass to each call to *func*. - save_count : int, optional - The number of values from *frames* to cache. + save_count : int, default: 100 + Fallback for the number of values from *frames* to cache. This is + only used if the number of frames cannot be inferred from *frames*, + i.e. when it's an iterator without length or a generator. interval : number, optional Delay between frames in milliseconds. Defaults to 200.