[Matplotlib-users] [wxmpl] How to get coordinates from selected rectangle

2007-03-28 Thread David . L . Goldsmith
Hi! I have a wxmpl.PlotPanel object with a cross-hair style cursor (without the full screen crosshairs). When I select a rectangle w/ this cursor it zooms in to that rectangle - great! Now, how do I get the rectangle coordinates (preferably in data coords.) from the rectangle selection event?

[Matplotlib-users] PS: Re: [matplotlib-devel] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-15 Thread David L Goldsmith
One more thing: knowing Chris, I *think* that he wasn't saying that you should somehow *oblige* the coder to use namespace prefices, rather, don't do anything that would make it harder or less efficient to do so, right Chris? DG Christopher Barker wrote: > Keir Mierle wrote: > >> p.s. This

Re: [Matplotlib-users] [matplotlib-devel] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-15 Thread David L Goldsmith
One more namespace "pro" (on point, since you're concerned w/ docstrings, and thus, presumably, usability): indicating the namespace makes your code more self-documenting (my favorite aspect of it). DG Christopher Barker wrote: > Keir Mierle wrote: > >> p.s. This is part of my plan to kick o

Re: [Matplotlib-users] Usability with matplotlib

2006-12-18 Thread David L Goldsmith
Simson Garfinkel wrote: > Well, I come from the United States, where we basically ignore > international standards and let the rest of the world do what it > wants. Except when it annoys us. > Insert wink or smiley face here to signify irony, yes? > However, there is something called an inte

Re: [Matplotlib-users] Usability with matplotlib

2006-12-18 Thread David L Goldsmith
Simson Garfinkel wrote: > It really depends on your audience as to whether or not 1,000,000 > through 9,000,000 is better displayed in scientific notation or not. > For audiences that I frequently present to, any scientific notation > is just unacceptable. You can add quantifiers (like KBps,

Re: [Matplotlib-users] Usability with matplotlib

2006-12-18 Thread David L Goldsmith
I wonder: how hard would it be to add some intelligence to the interpreter and/or exception handler such that if the manner of (mis)use of one of these implied that what the programmer meant was the other, then the error message would say something like "Perhaps you meant to use axis (or axes,

[Matplotlib-users] More on: Enabling focus for figure pieces

2006-11-24 Thread David . L . Goldsmith
OK, I see (kind of, i.e., via the pylab interface) how to do it - indirectly, i.e., by catching the click-on-figure event, then figuring out where that event happened and comparing that to the locations of the figure's pieces - using matplotlib only, so here's hoping that wxmpl has made it A) more

[Matplotlib-users] [wxmpl] Can figure canvas pieces accept focus?

2006-11-24 Thread David . L . Goldsmith
And if so, how? For example, is there a way to make it so that if a user clicks on the figure's title (or the legend, or an axis, etc.), then a wx.TextCtrl can be made to come up so that the user can edit the title? DG PS: I believe some time back I was told that, presently, this is the best pla

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread David L Goldsmith
John Hunter wrote: >> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: >> > > David> OK, I was afraid of that; in that case, is there some way > David> to get the height and width of the legend (so I can do what > David> I want programatically)? Thanks again,

[Matplotlib-users] Is there a wxmpl listserve?

2006-08-23 Thread David L Goldsmith
-- HMRD/ORR/NOS/NOAA - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your jo