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

[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)

[Matplotlib-users] unexpected exception

2009-03-20 Thread Vito De Tullio
Hi! I'm a newbie of matplotlib, and I'm trying to plot a set of data... but I got blocked... $ cat matplotliberr.py #!/usr/bin/env python # dummy data to plot from datetime import date, timedelta from random import randint x = [ date.today() + timedelta(i) for i in range(10) ] y = [ randint(0, i)