Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TomNicholas opened this issue Jan 31, 2019 · 3 comments
Open

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

TomNicholas opened this issue Jan 31, 2019 · 3 comments
Labels

Comments

@TomNicholas
Copy link
Contributor

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.

@t-makaro
Copy link
Owner

t-makaro commented Feb 1, 2019

If we add a step forward/back by one, and maybe we should put the buttons in a line below the slider in a row. This would deal with the text of the slider overlapping.

@dcherian
Copy link
Contributor

dcherian commented Feb 1, 2019

+5 to buttons below slider. I think it's the most elegant solution

@TomNicholas
Copy link
Contributor Author

Also it should be possible to use the dragging argument of the slider widget to move a paused animation to a particular frame by dragging it with the mouse...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants