Re: [matplotlib-devel] ginput default mouse configuration

2009-08-30 Thread Gael Varoquaux
On Sat, Aug 29, 2009 at 10:45:31PM -0500, John Hunter wrote: > I've tried to apply your code properly. Because it was not a patch, > but a simple code file submission (and the original files have changed > since your submission) and because I did not write the original ginput > code, it was touch

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-29 Thread John Hunter
On Mon, Aug 17, 2009 at 11:24 AM, Jack Sankey wrote: > Hello Gael, > Okay, I've updated the two files I modified here: > http://sites.google.com/site/jacksankey/files/matplotlib.zip?attredirects=0 > Sorry I can't figure out how to compile. I wish it was possible to have an > SVN containing also the

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-17 Thread Jack Sankey
Hello Gael, Okay, I've updated the two files I modified here: http://sites.google.com/site/jacksankey/files/matplotlib.zip?attredirects=0 Sorry I can't figure out how to compile. I wish it was possible to have an SVN containing also the windows binaries. Too bad we all can't just run Linux. Anyw

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-13 Thread Gael Varoquaux
On Tue, Aug 11, 2009 at 07:53:29PM -0400, Jack Sankey wrote: >Sorry for spamming, but I have another addition to >BlockingMouseInput.add_click, that fixes the problem of the graphics >jumping around while ginputting. This makes it much easier to zoom in on >an imshow() plot and clic

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-12 Thread Jack Sankey
Hi John, Now I remember why I never figured out how to contribute. I don't have a Visual Studio 2003 compiler (only 2008 is available from microsoft any more) and I don't have time to figure out all the flags and so on to compile. I do have Mingw32 but no jumbling of ["python.exe", "setup.py", "ins

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread John Hunter
On Tue, Aug 11, 2009 at 6:53 PM, Jack Sankey wrote: > Sorry for spamming, but I have another addition to > BlockingMouseInput.add_click, that fixes the problem of the graphics jumping > around while ginputting. This makes it much easier to zoom in on an imshow() > plot and click a bunch of points,

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread Jack Sankey
Sorry for spamming, but I have another addition to BlockingMouseInput.add_click, that fixes the problem of the graphics jumping around while ginputting. This makes it much easier to zoom in on an imshow() plot and click a bunch of points, for example (it used to zoom all the way out!): def add_cli

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread Jack Sankey
(correction: I *can* get the keyboard to click and remove clicks, but can't get the 'enter' event to fire. Maybe windows has a different binding?) On Tue, Aug 11, 2009 at 4:50 PM, Jack Sankey wrote: > Hello again, > I'm not an official dev with commit ability (though I may be committable), > but

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread Jack Sankey
Hello again, I'm not an official dev with commit ability (though I may be committable), but I modified figure.py and blocking_input.py to allow us to do exactly this. Any chance it could make it to the next release? http://sites.google.com/site/jacksankey/files/matplotlib.zip?attredirects=0 Note

[matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread Jack Sankey
Hello, The new ginput is great, and I'm going to start using it instead of my original implementation. The one problem is on my (and many) laptops, it is in practice hard to middle click, and I often find myself accidentally clicking or removing a click. It would be nice (and should be straightfor