Skip to content

Add cmap to animate_topomap #12418

Closed

Description

@withmywoessner

Describe the new feature or enhancement

I would like to add a cmap parameter to animate_topomap. Currently, plot_topomap includes this parameter so I would like to update it to match plot_topomap.

Describe your proposed implementation

Add a new parameter cmap to animate_topomap

Describe possible alternatives

Maybe I can just add a tutorial to do this with existing matplotlib api??

Additional context

There may also be some other parameters I can add to bring the functionality closer to plot_topomap.

Activity

  1. larsoner commented on Feb 5, 2024

    @larsoner
    Member

    Yes feel free to add it. You can add just that or more params if you need to for your use case (or want to for completeness). I don't think animate_topomap has kept up with all options.

  2. withmywoessner commented on Feb 5, 2024

    @withmywoessner
    ContributorAuthor

    Is there some way I could accomplish this using **kwargs so it doesn't have to be updated each time something is added to animate_topomap? Thanks!

  3. larsoner commented on Feb 5, 2024

    @larsoner
    Member

    In principle yes (the syntax works) but in practice we avoid doing it because it can hide problems if you're not careful and forces people to look for docs elsewhere. Instead we prefer to duplicate and use docdict for the doc strings. It's more work for us as maintainers but nicer for users.

  4. HansujaB commented on Mar 15, 2026

    @HansujaB
    Contributor

    Hi , @larsoner I have opened a PR for this issue , let me know if something needs to be changed.
    Thanks!

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