nipy / PySurfer

Cortical neuroimaging visualization in Python
https://pysurfer.github.io/
BSD 3-Clause "New" or "Revised" License
239 stars 98 forks source link

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

Closed mwaskom closed 4 years ago

mwaskom commented 4 years ago

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 commented 4 years ago

Agreed, thanks @mwaskom

Travis error is https://github.com/ContinuumIO/anaconda-issues/issues/11195 so let's ignore it

mwaskom commented 4 years ago

Thanks for the quick merge @larsoner