Skip to content

[Feature] Step back and forth by one frame #28

Description

@TomNicholas

Currently animatplot's animation.controls() supply a play/pause button. It works really nicely, but once the animation is paused you have no option but to resume playing it at the same speed.

What would be great is to add two more buttons, to step one frame forwards or one frame backwards.

Obviously animatplot is not a full GUI, but I think this small change would be within scope and could be unobtrusive. If you used pictorial represenations of the actions then you could probably squeeze the three new buttons required into the same amount of space that the current button occupies. I'm imagining something like ⏪ ▶️ ⏩ (apologies for using emojis to demonstrate).

This shouldn't be hard to do because the buttons just call the _update method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions