From 5cd2f80c897820dbcec9a8e24438dcb125434921 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Sat, 27 Jul 2024 16:56:16 -0400 Subject: [PATCH] TYP: Fix a typo in animation.pyi frames can be an Iterable of anything. I'm assuming this typo was caused by a file-wide search and replace, since all other Iterables in this file are indeed `Iterable[Artist]` --- lib/matplotlib/animation.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/animation.pyi b/lib/matplotlib/animation.pyi index 56c27a465b7f..345e3c6dbe61 100644 --- a/lib/matplotlib/animation.pyi +++ b/lib/matplotlib/animation.pyi @@ -207,7 +207,7 @@ class FuncAnimation(TimedAnimation): self, fig: Figure, func: Callable[..., Iterable[Artist]], - frames: Iterable[Artist] | int | Callable[[], Generator] | None = ..., + frames: Iterable | int | Callable[[], Generator] | None = ..., init_func: Callable[[], Iterable[Artist]] | None = ..., fargs: tuple[Any, ...] | None = ..., save_count: int | None = ...,