Skip to content

Can Epochs.plot have a "show_scale_bar" parameter similarly to Raw.plot? #9783

Closed

Description

@adam2392

Describe the new feature or enhancement

I'm plotting some Epoch data and I noticed that the parameters are slightly different from Raw.plot. Specifically, the scale bar is not able to be shown in Epoch.plot. However, I'm not sure why not?

Describe your proposed implementation

Perhaps add some of the parameters into the Epochs.plot that is available in Raw.plot

Additional comments

https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Raw.plot

https://mne.tools/stable/generated/mne.Epochs.html#mne.Epochs.plot

Activity

  1. drammock commented on Sep 27, 2021

    @drammock
    Member

    I think it's not in the method signature but you can still enable it once the plot is open by pressing s?

  2. adam2392 commented on Sep 27, 2021

    @adam2392
    MemberAuthor

    I tend to only use matplotlib to plot inline so have to enable it programmatically.

    The interactive plotting always crashes on my Mac :p.

  3. cbrnr commented on Sep 28, 2021

    @cbrnr
    Contributor

    I think we should make all options available as parameters, including the scale bar, but there are many more toggles that are not exposed.

  4. hoechenberger commented on Sep 28, 2021

    @hoechenberger
    Member

    +10 on adding this

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