Skip to content

Commit 1c02381

Browse files
committed
BUG: Fix passing of parameters from save to MovieWriter
Missed forwarding a couple of parameters when `AbstractMovieWriter` gained an `__init__`.
1 parent 788503f commit 1c02381

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
@@ -293,7 +293,8 @@ def __init__(self, fps=5, codec=None, bitrate=None, extra_args=None,
293293
'MovieWriter cannot be instantiated directly. Please use one '
294294
'of its subclasses.')
295295

296-
super().__init__(fps=fps, metadata=metadata)
296+
super().__init__(fps=fps, metadata=metadata, codec=codec,
297+
bitrate=bitrate)
297298

298299
self.frame_format = 'rgba'
299300
self.extra_args = extra_args

0 commit comments

Comments
 (0)