Skip to content

MNE Plot_Raw Showing Unit Label Conflict w/ YLabels #7068

Closed

Description

@adam2392

Describe the problem

When I plot using raw.plot(), there is a line specifying units that conflict w/ the y labels.

See here.
image

Describe your solution

Is it possible to make this either on the other side of the plot, somewhere else altogether, or make it optional?

Activity

  1. drammock commented on Nov 16, 2019

    @drammock
    Member
  2. adam2392 commented on Nov 16, 2019

    @adam2392
    MemberAuthor

    I guess my issue is that I would like to see it and it is useful, but there is no way to put it somewhere else, or dynamically change it's size?

    It's nice and out of the way when I have say only 5-10 channels showing, but when I have more, it gets in the way of the first channel text.

    / Is there a way to turn it off without the interactive mode of plotting?

  3. agramfort commented on Nov 17, 2019

    @agramfort
    SponsorMember
  4. cbrnr commented on Nov 18, 2019

    @cbrnr
    Contributor

    @adam2392 you can press "s" to toggle the scale bars. Currently, there is no argument to turn them off in the raw.plot() call though.

  5. adam2392 commented on Nov 19, 2019

    @adam2392
    MemberAuthor

    Okay no problem. Visualization is always tough to functionalize in my exp.

    I would say a programmatic option to turn off the unit scale would be helpful tho in general. If you think this is easy enough / okay to add in, I’d be willing to submit a PR.

    If not, we can close this off.

  6. drammock commented on Nov 19, 2019

    @drammock
    Member

    I would be OK with a show_scale_bars param (or maybe just scale_bars?) that defaults to True for backward compat.

  7. cbrnr commented on Nov 19, 2019

    @cbrnr
    Contributor

    👍 for scale_bars=True, @adam2392 PR welcome!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions