Re: [Matplotlib-users] ginput(0) termination error

2010-06-08 Thread Thøger Emil Juul Thorsen
Thanks guys for your advice. My mail server has been weird since yesterday so I only just saw your messages now. In the meantime, I managed to hack and extend the LineBuilder class code snippet at http://goo.gl/RLGS to actually meet my needs better than ginput - but, obviously, much less portable

Re: [Matplotlib-users] ginput(0) termination error

2010-06-08 Thread Fabrice Silva
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

Re: [Matplotlib-users] ginput(0) termination error

2010-06-07 Thread Jae-Joon Lee
I think this is a known bug (unfortunately, the bug fix does not seem to be reflected in the maintenance version), but without a full traceback, I'm not 100% sure. You may use the svn version which have fixed this bug, or you may try the workaround described in the link below (check the clabel_mon

Re: [Matplotlib-users] ginput(0) termination error

2010-06-07 Thread Marius 't Hart
Can't you do ginput(n=1) in a while loop? Ginput needs to end at some point, right? Initiating a never ending loop seems like the wrong solution for any real-life problem. On 06/07/2010 01:15 PM, Thøger Emil Juul Thorsen wrote: > Bump - no one knows a solution/workaround to this? > > > >> He

Re: [Matplotlib-users] ginput(0) termination error

2010-06-07 Thread Thøger Emil Juul Thorsen
Bump - no one knows a solution/workaround to this? > 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 n