I have something like (only the important bits of code):
cmap = mpl.cm.jet ##I set colomap to 'jet'
norm = mpl.colors.Normalize(vmin=5, vmax=15)
exampleInt = 7
##Here i would need a color value of 7 (in 5-15 range of jet colormap)
poly = Polygon(seg,facecolor=exampleInt(as color value))
Thank you for your help!
View this message in context: http://www.nabble.com/Integer-to-colormap-color-value-tp21360533p21360533.html
Sent from the matplotlib - users mailing list archive at Nabble.com.