Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5cd2f80

Browse filesBrowse files
authored
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]`
1 parent cb487f3 commit 5cd2f80
Copy full SHA for 5cd2f80

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/animation.pyi

Copy file name to clipboardExpand all lines: lib/matplotlib/animation.pyi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class FuncAnimation(TimedAnimation):
207207
self,
208208
fig: Figure,
209209
func: Callable[..., Iterable[Artist]],
210-
frames: Iterable[Artist] | int | Callable[[], Generator] | None = ...,
210+
frames: Iterable | int | Callable[[], Generator] | None = ...,
211211
init_func: Callable[[], Iterable[Artist]] | None = ...,
212212
fargs: tuple[Any, ...] | None = ...,
213213
save_count: int | None = ...,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.