Skip to content

y-limits of subplots in plot_evoked_topo #6039

Closed

Description

@flecaignard

Hi all,

Is there a way to set y-axis limits in the « click-to-magnify » plots in plot_evoked_topo? The ylim input applies to the main plot, but does not seem to be transferred to sensor-specific subplots.
Thanks!

Françoise

Activity

  1. jjnurminen commented on Mar 11, 2019

    @jjnurminen
    Contributor

    Thanks for the ping @agramfort
    I can take a look, if this wasn't picked up already.

  2. agramfort commented on Mar 11, 2019

    @agramfort
    SponsorMember
  3. jjnurminen commented on Mar 12, 2019

    @jjnurminen
    Contributor

    I started playing with this, but can't get ylim to work at all on latest master. For example, modifying examples/visualization/plot_topo_compare_conditions.py and supplying ylim as below has no effect on the plot. Am I missing something?

    plot_evoked_topo(evokeds, color=colors, title=title, background_color='w', ylim=dict(grad=[-1e3, 1e3], mag=[-1e3, 1e3]))
    

    Using matplotlib 3.0.1 in conda env created via conda env create -f environment.yml

  4. jjnurminen commented on Mar 12, 2019

    @jjnurminen
    Contributor

    Also it looks like topoplot refactor is coming in #5568. I guess that will completely change how ylim works, so maybe we should wait.
    @jona-sassenhagen

  5. jona-sassenhagen commented on Mar 12, 2019

    @jona-sassenhagen
    Contributor

    I will try to get the refactor done at the code sprint ... But I am not yet sure how to deal with interactivity.

  6. agramfort commented on Mar 12, 2019

    @agramfort
    SponsorMember
  7. jona-sassenhagen commented on Mar 12, 2019

    @jona-sassenhagen
    Contributor

    We can try. @flecaignard can you wait for a month? :)

  8. jona-sassenhagen commented on Apr 26, 2019

    @jona-sassenhagen
    Contributor

    This is done in #6211. However, #6211 is not doing evoked.plot_topo (but a way for doing topo plots with viz.plot_compare_evokeds). Should I additionally work on making evoked.plot_topo handle this?

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions