dimanche 17 juillet 2016

Defining the midpoint of a colormap in matplotlib


I want to set the middle point of a colormap, ie my data goes from -5 to 10, i want zero to be the middle. I think the way to do it is subclassing normalize and using the norm, but i didn't find any example and it is not clear to me, what exactly i have to implement.


Aucun commentaire:

Enregistrer un commentaire