nipy / PySurfer

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

Check if colorbar is none before seting visibility #86

Closed mwaskom closed 10 years ago

mwaskom commented 10 years ago

I was getting some errors when building figures with multiple layers, some of which I was plotting without a colorbar.

This should fix that.

agramfort commented 10 years ago

thx