From: Benjamin R. <ben...@ou...> - 2012-02-29 18:32:20
|
On Wed, Feb 29, 2012 at 5:09 AM, Nils Wagner <nw...@ia...>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. > > Nils > > 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 |