danjgale / surfplot

A package for publication-ready brain surface figures
https://surfplot.readthedocs.io/en/latest/
Other
53 stars 14 forks source link

Fix colormaps and color ranges #19

Closed danjgale closed 1 year ago

danjgale commented 1 year ago

Addresses long standing issues #12 and #18.

Surfplot now properly handles LinearSegmentedColormap and also ListedColormap. Color range now correctly corresponds to what is generated with Brainspace by setting share=False. Docs updated accordingly.

Thanks to all who pointed out these issues.