Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit84e872d

Browse files
authored
Merge pull request#16966 from anntzer/animfallback
Fix animation writer fallback.
2 parentsc3865e5 +3ab7641 commit84e872d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def func(current_frame: int, total_frames: int) -> Any
10901090
ifwriters.is_available(writer):
10911091
writer=writers[writer](fps,**writer_kwargs)
10921092
else:
1093-
alt_writer=next(writers,None)
1093+
alt_writer=next(iter(writers),None)
10941094
ifalt_writerisNone:
10951095
raiseValueError("Cannot save animation: no writers are "
10961096
"available. Please install ffmpeg to "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp