diff --git a/lib/matplotlib/animation.py b/lib/matplotlib/animation.py index 941e1b233740..2459cf7432f5 100644 --- a/lib/matplotlib/animation.py +++ b/lib/matplotlib/animation.py @@ -696,7 +696,11 @@ def delay(self): @property def output_args(self): - return [self.outfile] + if self.extra_args: + args = list(self.extra_args) + else: + args = [] + return args + [self.outfile] @classmethod def bin_path(cls):