Skip to content

Docstring of mne.viz.plot_topomap() incorrect #12698

Closed

Description

@cbrnr

The docstring of mne.viz.plot_topomap() is incorrect. The descriptions of contours and cmap refer to an argument colorbar which does not exist:

https://mne.tools/stable/generated/mne.viz.plot_topomap.html

Activity

  1. deveshbervar commented on Feb 23, 2026

    @deveshbervar
    Contributor

    Hello @cbrnr, if this issue is still open, I would like to work on it.

    From my understanding, the docstring of mne.viz.plot_topomap() incorrectly refers to a non-existent colorbar argument, and fixing it would involve updating or removing those references in the descriptions of cmap and contours.

    Could you please confirm if my understanding is correct and let me know if I can work on this issue? Thank you!

  2. cbrnr commented on Feb 23, 2026

    @cbrnr
    ContributorAuthor

    Exactly, although it only appears in the description of the contours argument. Thanks for working on it!

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