Skip to content

Brain GUI modernization (Phase 4)#14102

Open
payamsash wants to merge 1 commit into
mne-tools:mainfrom
payamsash:enh/brain-gui-phase4
Open

Brain GUI modernization (Phase 4)#14102
payamsash wants to merge 1 commit into
mne-tools:mainfrom
payamsash:enh/brain-gui-phase4

Conversation

@payamsash

@payamsash payamsash commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Reference issue (if any)

Phase 4 of #14042 and following #14085

What does this implement/fix?

add surf and cortex options to GUI

Additional information

Claude reviewed the code and I understand what has been modified.

@payamsash payamsash changed the title add surf and cortex to gui Brain GUI modernization (Phase 4) Jul 26, 2026
assert brain._alpha == 0.5

brain.set_cortex_colormap("bone")
assert brain._cortex_preset == "bone"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this doesn't test whether the new colors are actually shown, like you do below with changing surf

Comment thread mne/viz/_3d_overlay.py
rng=rng,
opacity=opacity,
name=name,
smooth=smooth,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why a new smooth parameter? We already had controls for the amount of smoothing, which you could set to 1 to turn it off.

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.

2 participants