Skip to content

ENH: Allow painting all annotation vertices in a single color - #273

Merged
larsoner merged 1 commit into
nipy:masterfrom
mwaskom:annot_color
Aug 12, 2019
Merged

ENH: Allow painting all annotation vertices in a single color#273
larsoner merged 1 commit into
nipy:masterfrom
mwaskom:annot_color

Conversation

@mwaskom

@mwaskom mwaskom commented Aug 12, 2019

Copy link
Copy Markdown
Member

A small enhancement that makes it easy to show the borders between annotation labels in a single color. This makes less distracting figures in cases where you want to overlay an annotation on a statistical map and either know what each parcel represents or don't precisely care.

e.g.

from surfer import Brain
b = Brain("fsaverage", "lh", "inflated")
b.add_annotation("aparc", color="dodgerblue")

annot_edges

@larsoner larsoner left a comment

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.

Otherwise LGTM

Comment thread surfer/viz.py
@larsoner

Copy link
Copy Markdown
Contributor

Agreed, thanks @mwaskom

Travis error is ContinuumIO/anaconda-issues#11195 so let's ignore it

@larsoner
larsoner merged commit 80c3ccb into nipy:master Aug 12, 2019
@mwaskom
mwaskom deleted the annot_color branch August 12, 2019 17:33
@mwaskom

mwaskom commented Aug 12, 2019

Copy link
Copy Markdown
Member Author

Thanks for the quick merge @larsoner

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