Skip to content

Doc: Add passing args to Animation guide #27621

Closed

Description

@story645

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

Activity

  1. github-actions commented on Jan 9, 2024

    @github-actions

    Good first issue - notes for new contributors

    This 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.

  2. Ahmedniz1 commented on Jan 14, 2024

    @Ahmedniz1

    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.

  3. story645 commented on Jan 14, 2024

    @story645
    MemberAuthor

    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.

  4. vamshipy commented on Jan 18, 2024

    @vamshipy

    working on this..

  5. MostafaNouh0011 commented on Mar 20, 2024

    @MostafaNouh0011
    Contributor

    Hello,
    I am interested in contributing to this issue and would like to inquire if anyone is currently working on it.

  6. story645 commented on Mar 20, 2024

    @story645
    MemberAuthor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions