Skip to content

Commit 31fe5e0

Browse files
committed
BUG : give animation args valid default values
1 parent 8602912 commit 31fe5e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/rcsetup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -801,21 +801,21 @@ def __call__(self, s):
801801
# Path to FFMPEG binary. If just binary name, subprocess uses $PATH.
802802
'animation.ffmpeg_path': ['ffmpeg', six.text_type],
803803

804-
## Additional arguments for ffmpeg movie writer (using pipes)
805-
'animation.ffmpeg_args': ['', validate_stringlist],
804+
# Additional arguments for ffmpeg movie writer (using pipes)
805+
'animation.ffmpeg_args': [[], validate_stringlist],
806806
# Path to AVConv binary. If just binary name, subprocess uses $PATH.
807807
'animation.avconv_path': ['avconv', six.text_type],
808808
# Additional arguments for avconv movie writer (using pipes)
809-
'animation.avconv_args': ['', validate_stringlist],
809+
'animation.avconv_args': [[], validate_stringlist],
810810
# Path to MENCODER binary. If just binary name, subprocess uses $PATH.
811811
'animation.mencoder_path': ['mencoder', six.text_type],
812812
# Additional arguments for mencoder movie writer (using pipes)
813-
'animation.mencoder_args': ['', validate_stringlist],
813+
'animation.mencoder_args': [[], validate_stringlist],
814814
# Path to convert binary. If just binary name, subprocess uses $PATH
815815
'animation.convert_path': ['convert', six.text_type],
816816
# Additional arguments for mencoder movie writer (using pipes)
817817

818-
'animation.convert_args': ['', validate_stringlist]}
818+
'animation.convert_args': [[], validate_stringlist]}
819819

820820

821821
if __name__ == '__main__':

0 commit comments

Comments
 (0)