From: João L. S. <js...@fc...> - 2010-05-21 13:56:21
|
Hi, Using the SVN version the following example fails with: File "/usr/local/lib/python2.6/dist-packages/matplotlib/colors.py", line 815, in inverse raise ValueError("Inversion requires valid vmax > vmin") ValueError: Inversion requires valid vmax > vmin This was introduced in svn revision 8308. Example script: --------------------------------------- import numpy as np import matplotlib.pyplot as plt plt.imshow(np.zeros((10,10))) plt.colorbar() plt.show() ------------------------------------------------ Regards, João Silva |