Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 516c810

Browse files
authored
Merge pull request #17759 from larsoner/str
BUG: Convert from str to writer on 3.2.x
2 parents 137edd5 + 8754deb commit 516c810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/animation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,7 @@ 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+
alt_writer = writers[alt_writer]
11091110
writer = alt_writer(
11101111
fps, codec, bitrate,
11111112
extra_args=extra_args, metadata=metadata)

0 commit comments

Comments
 (0)