[Python-modules-team] Bug#699556: python-matplotlib: imshow colormap wrong with foreign endian data
Julian Taylor
jtaylor.debian at googlemail.com
Fri Feb 1 17:24:41 UTC 2013
Package: python-matplotlib
Version: 1.1.1~rc2-1
Severity: normal
for foreign endian float data matplotlib 1.1.1 colors the maximum value
the same as the minimum value
# on little endian
d = np.array([[1,2],[1,1]], dtype=">f4")
imshow(d, interpolation="nearest") # should have some red in it (jet cmap)
this is fixed in 1.2.0 with a pretty small change, see
https://github.com/matplotlib/matplotlib/issues/1005
More information about the Python-modules-team
mailing list