Skip to content

ENH: Add pop-up key mapping for PyVista stc.plot #7268

Closed

Description

@SophieHerbst

@GuillaumeFavelier maybe this already exists: is there a way to move continuously through time on an stc, by holding for instance the left/right arrow key? The playback speed scaler sets the step-size on the time-axis, but I still need to move the mouse across the time scale, which is a bit inconvenient, and hard to do continuously.

Activity

  1. agramfort commented on Jan 30, 2020

    @agramfort
    SponsorMember
  2. SophieHerbst commented on Jan 30, 2020

    @SophieHerbst
    ContributorAuthor

    I did not (what a narrow concept of time). Cool!
    What is the shortcut to bring up a legend / help ?

  3. agramfort commented on Jan 30, 2020

    @agramfort
    SponsorMember
  4. GuillaumeFavelier commented on Jan 30, 2020

    @GuillaumeFavelier
    Contributor

    That would be nice to have considering the number of toggles/shortcuts has increased in TimeViewer. I noted this idea in #7162 👍

  5. larsoner commented on Jan 30, 2020

    @larsoner
    Member

    This window that pops up can just be a new / separate matplotlib figure like we do in all of our other plotters. @GuillaumeFavelier it might be worth refactoring the code to make a new function that takes a list of (shortcut, description) pairs and pops up a new window with the list.

  6. changed the title [-]pyvista stc plots: move through time constantly by holding key[/-] [+]ENH: Add pop-up key mapping for PyVista stc.plot[/+] on Jan 30, 2020
  7. GuillaumeFavelier commented on Jan 31, 2020

    @GuillaumeFavelier
    Contributor

    If we plan to reuse MplCanvas, this requires #7247 to be merged

  8. larsoner commented on Jan 31, 2020

    @larsoner
    Member

    I wouldn't reuse MplCanvas, I would actually pop up a window for this one. So you can just do a new plt.figure

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

Metadata

Metadata

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