Skip to content

Commit

Permalink
Merge pull request matplotlib#11828 from fredrik-1/animation_warning
Browse files Browse the repository at this point in the history
changed warning in animation
  • Loading branch information
dopplershift authored Aug 10, 2018
2 parents cff3da2 + 1e00655 commit b44aeca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,8 @@ class to use, such as 'ffmpeg'. If ``None``, defaults to
extra_args=extra_args,
metadata=metadata)
else:
_log.warning("MovieWriter %s unavailable.", writer)
_log.warning("MovieWriter {} unavailable. Trying to use {} "
"instead.".format(writer, writers.list()[0]))

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

0 comments on commit b44aeca

Please sign in to comment.