-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Doc: Add passing args to Animation guide #27621
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
Comments
Good first issue - notes for new contributorsThis issue is suited to new contributors because it does not require understanding of the Matplotlib internals. To get started, please see our contributing guide. We do not assign issues. Check the Development section in the sidebar for linked pull requests (PRs). If there are none, feel free to start working on it. If there is an open PR, please collaborate on the work by reviewing it rather than duplicating it in a competing PR. If something is unclear, please reach out on any of our communication channels. |
Is this request still available? I'm trying to work on it but I feel like the description is clear enough. As an example is attached right below the funcanimation heading describing how to create animation using this class. |
Sorry, may not have been clear enough in what I'm asking for then. I think it'd be good to have a second example showing how to write/use animation update functions that take arguments, i.e.: def update(frame, input1, input2): How to do this is described in the FuncAnimation docstring. |
working on this.. |
Hello, |
@MostafaNouh0011 this issue is supereceded by #27687 so that's the one you should target. I had left this open because of the attached PR but I'm gonna close this to reduce confusion. |
Documentation Link
https://matplotlib.org/devdocs/users/explain/animations/animations.html#animations
Problem
Superceded by #27687
Based on #27620, this is a general enough usage case that it'd be worth adding a section.
Suggested improvement
Add a subsection to the FuncAnimation section and use that section to explain how to pass in arguments and show a small example.
See func parameter for details: https://matplotlib.org/devdocs/api/_as_gen/matplotlib.animation.FuncAnimation.html#matplotlib.animation.FuncAnimation
The text was updated successfully, but these errors were encountered: