Skip to content

Conversation

@wmvanvliet
Copy link
Contributor

When annotating the brain with a brain atlas, the colors are not always set right:

import surfer
brain = surfer.Brain('fsaverage', hemi='both', surf='inflated')
brain.add_annotation('aparc', borders=False)

fig1

This has to do with the reordering of cmap and the translation of the ids vector. This PR fixes it:

fig2

@larsoner larsoner merged commit a51901f into nipy:master Oct 3, 2017
@larsoner
Copy link
Contributor

larsoner commented Oct 3, 2017

Thanks @wmvanvliet

@wmvanvliet wmvanvliet deleted the fix_annotation_colors branch October 24, 2017 09:26
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