Re: [Matplotlib-users] pick_event with wxmpl

2007-10-17 Thread Giorgio F. Gilestro
Thank you Ken, I ended up doing more or less as you suggested but it turns out that with the new pick API is actually much easier: wxmpl.EVT_POINT(self, self.GetId(), self.onPoint) self.mpl_connect('pick_event', self.onPick) def onPoint(self,event): ''' Called by the EV

Re: [Matplotlib-users] pick_event with wxmpl

2007-10-15 Thread Ken McIvor
On Oct 12, 2007, at 4:28 PM, Giorgio F. Gilestro wrote: > > Do you know if there is a reason why I cannot succeed in generating a > pick_event using wxmpl? Yes, WxMpl disables all matplotlib events to ensure that figure zooming works correctly. I haven't had time to ensure that WxMpl will work

[Matplotlib-users] pick_event with wxmpl

2007-10-12 Thread Giorgio F. Gilestro
Do you know if there is a reason why I cannot succeed in generating a pick_event using wxmpl? I know I could use EVT_POINT but I need the picker event to return the event.ind thanks! - This SF.net email is sponsored by: Splun