Hello, I am having a problem with the colorbar when plotting a constant field.
The small script below will generate a plot that is a solid blue image with a solid blue colorbar. However the label on the colorbar is garbage. There is no way to read the label to determine what value the image represents. Has anyone else had a similar problem? How do I fix it? I am running matplotlib version 1.0.1 installed from macports -- py26-matplotlib @1.0.1_3+tkinter Thanks. --- import matplotlib.pyplot as plt import numpy as np C = np.matrix('1 1 1; 1 1 1; 1 1 1') plt.imshow(C) plt.colorbar() plt.show() ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users