Le vendredi 04 juin 2010 à 15:25 +0200, Thøger Emil Juul Thorsen a écrit : > Hello list; > > I'm new to python/matplotlib, migrating from IDL. I need to do some > interactive point selection with mouse, and the pyplot.ginput() routine > seemed to be just the right thing here. I do however need to be able to > make a not previously specified number of clicks, so ginput(n=0) is a > requirement. > > However, when I press enter on my laptop (with no middle mouse button), > I get the error message: > > TypeError: stop_event_loop() takes exactly 1 argument (2 given) > > I've tried two different pieces of example code from the matplotlib SF > page. > I'm using Matplotlib 0.99.1 on Ubuntu 10.04. > Is there any solution or workaround? If I cannot have this > functionality, it is, unfortunately, kind of a deal breaker for at least > some of my work, and I'd like to keep it purely Python.
See http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2908085&group_id=80706 To temporarily solve the problem and be able to use ginput, I applied patch 8078 against my matplotlib installation (on debian) http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=8078 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users