MRG: Link _TimeViewer time slider with vertical time line#7423
MRG: Link _TimeViewer time slider with vertical time line#7423larsoner merged 8 commits intomne-tools:masterfrom
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 |
larsoner
left a comment
There was a problem hiding this comment.
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
matplotlibcanvas.I also did quite the refactor there as
_TimeViewer.__init__was getting too long.It's an item of #7162