WIP: Use _Brain in plot_vector_source_estimates#7060
WIP: Use _Brain in plot_vector_source_estimates#7060larsoner merged 82 commits intomne-tools:masterfrom
Conversation
|
This is my local result using the gist suggested in this comment. This is still work in progress. |
Codecov Report
@@ Coverage Diff @@
## master #7060 +/- ##
=======================================
Coverage 90.12% 90.12%
=======================================
Files 452 452
Lines 82885 82885
Branches 13100 13100
=======================================
Hits 74703 74703
Misses 5347 5347
Partials 2835 2835 |
|
Better to wait for the merge of #7084, I expect some conflicts to solve. |
|
Apparently no conflicts after merging #7084, but feel free to rebase anyway @GuillaumeFavelier |
|
I think we don't see the conflicts because Azure is failing or maybe because Travis is not done yet. I see them locally though. I will rebase |
|
The failures don't seem related to depth peeling, I'll have to split this PR to have a better perspective |
|
Killing CIs for now while we wait for #7513 |
|
Okay |
|
... actually I'll just bring the optimistic fix here |
|
Checking Azure here then |
|
It seems it's indeed related to AA. And you think it would not work on Azure if we remove: if os.getenv('AZURE_CI_WINDOWS', 'false').lower() == 'true':
returnNow that we check if the figure is active? |
The old check was just to see if So I think |
|
... oh I guess it does not actually check |
+100, this PR is up for too long |
Sorry for being paranoid but I'll push my latest changes once the CIs come back green. |
|
Awesome that @GuillaumeFavelier another fix that I think was in the reverted PR that I just noticed was that Also this suggests that the steps are being computed twice during init, which will slow things down. If you fix this, please also check that Then I think we're ready for merge, right? |
|
I fixed the bugs with Looking at the todo list and assuming the CIs come back green, I think we're ready now. |
|
still works great for me !
… |
Very reassuring @agramfort 😅 |
|
Works great! Thanks for the awesome work @GuillaumeFavelier |



This PR is a follow-up of #6731 suggested also in this comment. The goal is to make
stc_vec.plot()use the_Brainclass which relies on the abstract 3d backend layer_Renderer.ToDo
rendererfixture (c.f. Update 3d tests with renderer fixture #7028 (comment))time_viewer=Trueonly playback only updates mesh, not vectorsshow_traces=Trueif it's not too difficultIt's an item of #7162