Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread John Hunter
On Wed, Apr 15, 2009 at 8:03 AM, Vito De Tullio wrote: > Gregor Thalhammer wrote: > > > I didn't understand what you mean by 'plot nodes' > > the markers, sorry > > > , but there exist > > figure_enter_event, figure_leave_event, axes_enter_event and > > axes_leave_event, see > > > > http://matplot

Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Vito De Tullio
Gregor Thalhammer wrote: > I didn't understand what you mean by 'plot nodes' the markers, sorry > , but there exist > figure_enter_event, figure_leave_event, axes_enter_event and > axes_leave_event, see > http://matplotlib.sourceforge.net/examples/event_handling/figure_axes_enter_leave.html fi

Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Gregor Thalhammer
Vito De Tullio schrieb: > Hi all. > I'm using matplotlib to draw some graph in a pyqt application. > Is there a way to show infos only when the mouse hover the plot nodes? > At the moment I'm stuck using this (ugly, and conceptually wrong) piece of > code, written by me... > > basically I add hidde

[Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Vito De Tullio
Hi all. I'm using matplotlib to draw some graph in a pyqt application. Is there a way to show infos only when the mouse hover the plot nodes? At the moment I'm stuck using this (ugly, and conceptually wrong) piece of code, written by me... basically I add hidden annotations where I need, then (ab)