On Tue, Jan 27, 2009 at 9:27 AM, Nils Wagner <nwag...@iam.uni-stuttgart.de> wrote:
>> If you want to only return a single point, you can write >>a custom >> picker function to return only the point closest to the >>click point. >> > > Unfortunately, I am not sure how to implement a custom > picker function. > > Any pointer would be appreciated. The example I pointed you to in my first post has an example of a custom picker function. It is in the section labelled "picking with a custom hit test function" http://matplotlib.sourceforge.net/examples/event_handling/pick_event_demo.html We've taken a lot of time to write the documentation and examples. When you ask us questions on the mailing list and we point you to documentation and examples, please take the time to read them. One reason we wrote them is so that we would not have to continuously solve the same problems over and over again on the mailing list. I'm happy to help if you find the documentation or examples confusing, but it will serve us both if you spend some time trying to digest them. JDH ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users