Hi all,

How can I retrieve the corresponding "color value" in percent, when I click
on the image ?

fig = plt.figure()
ax  = fig.add_subplot(111)
cax = ax.imshow(col[:,::2], interpolation='nearest',extent=[0.5,20.5,0.5,2
0.5],alpha=1,picker=5)

fig.canvas.mpl_connect('pick_event', onpick)

def onpick(event):
 ...


Nils

<<attachment: image.png>>

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to