|
From: Nils W. <ni...@go...> - 2013-10-30 14:42:05
|
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
|