From 1e0065583635bcc87402cc0e83d2081fd14c2af2 Mon Sep 17 00:00:00 2001 From: fredrik-1 Date: Thu, 9 Aug 2018 09:26:40 +0200 Subject: [PATCH] changed warning in animation --- lib/matplotlib/animation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index 84d3b6d14db0..3c6ee9ae07d5 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -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,