Hi
I have a GTK application with the code

def on_pick(event):
    print "on_pick"
    thisline = event.artist
    xdata, ydata = thisline.get_data()
    ind = event.ind
    print 'on pick line:', zip(xdata[ind], ydata[ind])

cid = fig.canvas.mpl_connect('pick_event', on_pick)

but the routine never gets called when I click the left mouse button.
Instead,  the FigureCanvas "pick" method is called.
What am I doing wrong??

-Mathew

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to