|
From: V. A. S. <so...@es...> - 2014-11-14 14:03:20
|
Hello, Looking at the picking demo: http://matplotlib.org/examples/event_handling/pick_event_demo.html I see that one can recover the coordinates from the picked artist in the case of images, and lines. However, in case 3 of the example (scatter plot) the x and y data have to be supplied in order to retrieve the coordinates. Is there a way to recover them from the artist? I got the (wrong?) feeling that the data must be hidden somewhere ... If that is not possible I'll have to keep a copy of the data used to generate the artist, but I would not like to do so. Any hint? Thanks, Armando |