gallantlab / pycortex

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

FIX: fixed bug in save_3d_views handling custom parameter dicts #439

Closed alexhuth closed 2 years ago

alexhuth commented 2 years ago

It looks like there was a small bug in how save_3d_views handled custom parameter dicts — it assumed that view was a string that could be used in the filename, but for custom parameter dicts it actually contained the dictionary of parameters. I separated the view name from the parameters dict and made the documentation more explicit.