I have the following code:
matplotlib.pyplot.figure()
matplotlib.pyplot.imshow( myValues )
matplotlib.pyplot.colorbar()
matplotlib.pyplot.title( 'Values' )
matplotlib.pyplot.show()
which creates a pretty default colormap. myValues is in the range from [ -1.0, 1.0 ] (which perhaps changes later. I want to color all values that are 0.0 in white. How can I achieve this?
Regards, Maecky