gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
581 stars 137 forks source link

FIX,DOC make sure cmap filename ends with png #529

Closed mvdoc closed 5 months ago

mvdoc commented 5 months ago

A small fix to cortex.utils.add_cmap to ensure that a proper filename is used when saving a new colormap. Also improve the docstring a bit.