Repository navigation
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4972 +/- ##
===========================================
- Coverage 87.9% 66.31% -21.59%
===========================================
Files 353 353
Lines 63337 63220 -117
Branches 10834 10812 -22
===========================================
- Hits 55674 41924 -13750
- Misses 4913 18865 +13952
+ Partials 2750 2431 -319 |
Member
Author
|
So the Any objections with unifying these to plot the same way, and plot the way it's done for raw data? |
Member
|
yes epochs seem more cluttered. but it would be nice to add units to Raw in
yaxis
|
Member
Author
|
Epochs browser decluttered a bit: Feel free to comment on the aesthetic as I plan to make both epochs and raw ylabels look like this version of the epochs browser |
Member
|
looks great !
|
Member
|
@larsoner you'll have to rebase this one too :) |
Member
Author
|
This is a bit of a nightmare. Closing for now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looking at
mne/viz/raw.pyandmne/viz/epochs.pythere appears to be a lot of duplicated code in terms of 1) plot setup, 2) key press handling, and 3) butterfly setup. At the same time,epochs.plotis less capable thanraw.plotin terms of (at least)butterflyandgroup_byoptions. This PR aims to fix this.Todo:
epochs.plot(butterfly=True)work and add test (easy)params['offsets']useepochs.plot(group_by='type')workraw.plot(group_by='selection')typesin setup functions_setup_butterflyonscrollonkeyepochs.plot(group_by='selection')group_byCloses #4850.