On Thu, Jan 31, 2008 at 08:20:37AM -0600, John Hunter wrote: > As you know, this has been a much requested feature, I know. I have wanted it pretty badly. > and the hard part is to get something working across backends, which it > looks like you've done. Looks like it works OK. I would appreciate heads up from people who know GTK, as I am not too sure of possibly garbbling the mainloop with my kludge. But I have tested it quit extensively and it seems to work. > I suggest a minor reorganization. Get rid of ginput.py altogether, > add the BlockingMouseInput code to either backend_bases.py or > figure.py. Make a figure.Figure.ginput method, so folks can use it > outside of pylab, and then add a ginput method to pyplot.py which is a > thin wrapper to the Figure.ginput method. Yup, this seems like a good solution. > If this seems like a good organization to you, I'll wait for a new > patch and then contribute that. Give me a few days, but it will come. Cheers, Gaël