colorbar of image

Mireille.Hagbe.Ngom at ifremer.fr Mireille.Hagbe.Ngom at ifremer.fr
Thu May 31 04:18:05 EDT 2012


that is my script

from matplotlib import pyplot
img = pyplot.imread('image.png')
pyplot.imshow(img)
pyplot.show()

the problem is i want to display either colorbar associated to the  
image and image or just  colorbar associated to the image when i  
download image.png.how can i do?

tk's

mireille

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Python-list mailing list