Skip to content

Commit b44aeca

Browse files
authored
Merge pull request #11828 from fredrik-1/animation_warning
changed warning in animation
2 parents cff3da2 + 1e00655 commit b44aeca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/animation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,8 @@ class to use, such as 'ffmpeg'. If ``None``, defaults to
11241124
extra_args=extra_args,
11251125
metadata=metadata)
11261126
else:
1127-
_log.warning("MovieWriter %s unavailable.", writer)
1127+
_log.warning("MovieWriter {} unavailable. Trying to use {} "
1128+
"instead.".format(writer, writers.list()[0]))
11281129

11291130
try:
11301131
writer = writers[writers.list()[0]](fps, codec, bitrate,

0 commit comments

Comments
 (0)