-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add a preview functionality #100
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #100 +/- ##
==========================================
+ Coverage 84.91% 86.14% +1.23%
==========================================
Files 21 24 +3
Lines 928 1256 +328
==========================================
+ Hits 788 1082 +294
- Misses 140 174 +34 ☔ View full report in Codecov by Sentry. |
Hi @Fifourche, sorry just seeing this now. Maybe @alisterburt @tlambert03 and I can give this some review when we get the chance. Am I right in thinking this is sort of like having a "play button" for our preview slider? If so we might be able to re-use some of the play button code we have for our dims slider. I'll check out #99 too when i can as well. Nice work here!!! |
Hi ! :) Yes that was the idea indeed, but I also wanted to give the ability to have a play function even without the GUI. That's why I started #99 in fact ! I wanted to have a I still need to work on #99 though, and give the |
@Fifourche - do you want to reuse the "play button" from inside napari here It wasn't quite clear to me how to turn the playing on and off based on the GUI |
Hey ! Yes, that's I want to do indeed ! But as we didn't have any equivalent of the |
No worries, all good! Let us know if we can help!! |
I have a working version of it, ~ready for review I guess ! :) What I'd like to do still is to move the |
The tests failed here but for a |
Ok thanks for flagging! @alisterburt or I should be able to review this soon, thanks!! |
Once again, a
Otherwise it seems ok I think ! |
Following #99 , added functions to enable a preview ability. This preview capability is compatible with the slider as it allows to still change frame interactively using it (see video snippet).
animation_previewer.mp4
I'll add corresponding tests if you agree on the idea at least !