Skip to content
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

BUG: Butterfly mode scale bars overlap #276

Open
larsoner opened this issue Jul 17, 2024 · 0 comments
Open

BUG: Butterfly mode scale bars overlap #276

larsoner opened this issue Jul 17, 2024 · 0 comments

Comments

@larsoner
Copy link
Member

On latest MNE main (so you can use --butterfly) you can see:

MNE_BROWSER_BACKEND=matplotlib mne browse_raw ~/mne_data/MNE-sample-data/MEG/sample/sample_audvis_raw.fif --butterfly --clipping None
matplotlib qt
image image

BUG 1: If you plot in non-butterfly mode then hit "b" you get a different scale bar (e.g., 800 fT/cm instead of 400 fT/cm):

image

BUG 2: I think the spacing might also be off -- there is too much space at the top and bottom of the plot compared to the MPL version (which seems more correct). Some of these differences probably give rise to these differences in the MNE-Python test:

https://github.com/mne-tools/mne-python/pull/12721/files#diff-54ae16f8e47e25048ec09729d5f2175a49995177d97d1c0349bab066cbc90fffR1243-R1244

BUG 3: The z order is wrong. Whichever channel type is at the top should have the highest z order probably (it comes earlier in the data order so should be considered higher priority I think).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant