Re: [matplotlib-devel] ginput default mouse configuration

2009-08-17 Thread Jack Sankey
The third point above is the reason I looked into this in the first place; I couldn't stop collecting! :) Adding 'escape' would make ginput() functional enough. (I also use key = event.key.lower() to be safe.) Thanks! -Jack On Thu, Aug 13, 2009 at 1:45 PM, Gael Varoquaux &l

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-12 Thread Jack Sankey
to contribute but only on the interface/python front. Is it possible to svn checkout just the *.py files or a way around needing to compile the binaries? Regards, Jack On Tue, Aug 11, 2009 at 8:00 PM, John Hunter wrote: > On Tue, Aug 11, 2009 at 6:53 PM, Jack Sanke

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 (t

Re: [matplotlib-devel] ginput default mouse configuration

2009-08-11 Thread Jack Sankey
if I can help. I certainly wouldn't mind committing this myself, should the opportunity arise. :) Regards, -Jack On Tue, Aug 11, 2009 at 4:09 PM, Jack Sankey wrote: > Hello, > The new ginput is great, and I'm going to start using it instead of my > original implementation. T

[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

[matplotlib-devel] new legend interface and WXAgg interactive mode

2008-09-16 Thread Jack Sankey
Hello, I couldn't find this in the API changes, but when I upgraded to the latest matplotlib 0.98.2, I found (after much hair pulling) that gca().plot([1,2,1], label='_anything') will produce a plot and gca().legend() will not display the specified label. I had been using filenames starting wit

[matplotlib-devel] 3d idea

2008-09-11 Thread Jack Sankey
Hi guys- I'm sure you all have seen this so this information is nothing new. I've been playing with Art Of Illusion and it occurred to me that it's *very easy* to script/manipulate 3d objects in this environment, and that they have also implemented a very elegant way of mapping data into colors gra

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-11 Thread Jack Sankey
; Jack replied to me offlist so I am going to paste in his post below. > Perhaps you and Gael can consult on the ideal functionality of ginput > vis-a-vis optional line segment drawing, etc... > > > > FromJack Sankey <[EMAIL PROTECTED]> > to John Hunter <[EMA