-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
MRG: Link _TimeViewer time slider with vertical time line #7423
MRG: Link _TimeViewer time slider with vertical time line #7423
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7423 +/- ##
==========================================
+ Coverage 85.61% 90.07% +4.45%
==========================================
Files 454 454
Lines 82227 82358 +131
Branches 13003 13025 +22
==========================================
+ Hits 70397 74182 +3785
+ Misses 9162 5351 -3811
- Partials 2668 2825 +157 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed a commit to enable bidirectional control (clicking in the MPL axis will change the brain and sliders). @GuillaumeFavelier I don't know if it was the cleanest way so feel free to take a look and fix if need be.
Now this works the way I would expect so LGTM +1 for merge from me
Could not have done better. I just added |
@GuillaumeFavelier can we make that private and also get rid of |
@larsoner there are multiple places where I consider that |
Okay, might not be worth it then... |
I took care of it in the latest commit 363e81f, what do you think? |
Thanks @GuillaumeFavelier |
This PR adds a vertical line to indicate the current time on the
matplotlib
canvas.I also did quite the refactor there as
_TimeViewer.__init__
was getting too long.It's an item of #7162