Skip to content

Brain GUI modernization (Phase 2)#14062

Open
payamsash wants to merge 9 commits into
mne-tools:mainfrom
payamsash:enh/brain-gui-phase2
Open

Brain GUI modernization (Phase 2)#14062
payamsash wants to merge 9 commits into
mne-tools:mainfrom
payamsash:enh/brain-gui-phase2

Conversation

@payamsash

@payamsash payamsash commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Reference issue (if any)

Phase 2 of #14042 and following #14054.

What does this implement/fix?

  1. ticks for the colorbar as suggested by @wmvanvliet
  2. title for colorbar showing the overlay
  3. a new "information" button on toolbar (same as pressing "v") that enables vertex information when hovering mouse
  4. added test for visibility

Additional information

Claude created 2 .svg icons (light and dark) for information button.
most of the diff comes from #14054.

Picture 1

@larsoner larsoner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny drive-by comment from me, I'll let @wmvanvliet look and merge if he's happy (unless busy in which case I can look deeper!)

hemi="lh",
show_traces=False,
add_data_kwargs=dict(colorbar_kwargs=dict(title=long_title)),
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a fixed overhead to creating these brain windows (~0.5s locally and longer on CIs), so as much as possible try to reuse some existing brain for tests if you can

@wmvanvliet

Copy link
Copy Markdown
Contributor

Now that the previous PR is merged, this PR needs the main branch merged into itself and any conflicts resolved.

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

Successfully merging this pull request may close these issues.

3 participants