On Wed, Feb 29, 2012 at 5:09 AM, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
Hi all,

I tried to combine an event with an annotation.
However, the annotation is not visible, when I click on
the curves.
How can I resolve the problem ?
The code is available at http://pastebin.com/QxKBZtaX
Any pointer would be appreciated.

Thanks in advance.


Looks like a typo in your annotate function.  For the xy kwarg, your x-coordinate is set as "ind[0]".  Perhaps you meant "xdata[ind][0]"?

Ben Root