|
From: Alejandro W. <ale...@gm...> - 2013-01-14 15:00:24
|
Hi: I'm using matshow with a colorbar to visualize a matrix. If the number of digits used in the colorbar are too many, the digits are clipped. The following code illustrates the behavior: ################################## import matplotlib.pyplot as plt import numpy as np A = np.random.rand(100,10) / 100 plt.matshow(A) plt.colorbar() plt.show() ################################## See http://imgur.com/AJmv0 for the output. Is there an easy way to get the colormap without clipping? I can resize the image manually to get all the digits, but I'm looking for an automatic way to do this. Should I report this as a bug? I'm using mpl 1.3 Alejandro. |