colorbar of image

mhagbeng mhagbeng at enib.fr
Thu May 31 04:18:01 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




More information about the Python-list mailing list