-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Making it possible to use writer.setup kwargs from animation.save #11863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 on the principle, just some doc wording changes.
lib/matplotlib/animation.py
Outdated
@@ -1060,6 +1060,9 @@ class to use, such as 'ffmpeg'. If ``None``, defaults to | ||
on to the `savefig` command which is called repeatedly to | ||
save the individual frames. | ||
|
||
**kwargs : | ||
Additional kwargs sendt to the writer's setup method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sendt" -> "to pass" ?
"writer's setup" -> writer.setup()
?
dc30bb4
to
97c47b4
Compare
Made the changes and also made it possible to not explicitly use |
Any progress on this? The inability to change Maybe I should submit a separate bug report about this particular issue..? |
I think this was closed by #16082, but feel free to request a re-open. |
I don't think this was actually closed by #16082. As noted in that PR, "the user can simply pass a non- Unfortunately, I can't reopen this PR, and it probably needs a rebase, so I'll just open a new one. |
This pr makes it possible to reach the additional kwargs in a writers setup method from
Animation.save
.With this pr is it for example possible to write: