Skip to content

Commit fabf887

Browse files
committed
changed warning in animation
1 parent fe6ee82 commit fabf887

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. Using {} \
1128+
instead.".format(writer, writers.list()[0]))
11281129

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

0 commit comments

Comments
 (0)