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

Commitf0fc42f

Browse files
committed
BUG: Convert from str to writer
1 parent137edd5 commitf0fc42f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎lib/matplotlib/animation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,8 @@ def func(current_frame: int, total_frames: int) -> Any
11061106
"save animations.")
11071107
_log.warning("MovieWriter %s unavailable; trying to use %s "
11081108
"instead.",writer,alt_writer)
1109+
ifisinstance(alt_writer,str):
1110+
alt_writer=writers[alt_writer]
11091111
writer=alt_writer(
11101112
fps,codec,bitrate,
11111113
extra_args=extra_args,metadata=metadata)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp