Re: [matplotlib-devel] fix to clabel issues plus more

2008-09-16 Thread David M. Kaplan
Hi, I would just undo what I have done rather than putting a lot of moved messages all over the place. I personally find the mix of matlab and non-matlab stuff in mlab confusing, but I will go with the group consensus. Cheers, David On Sun, 2008-09-14 at 12:08 -0500, John Hunter wrote: > On Su

Re: [matplotlib-devel] Plot Edit Proposal for WX Backend

2008-09-16 Thread Paul Kienzle
On Tue, Sep 16, 2008 at 01:47:04AM +0200, Heinrich Acker wrote: > I'm posting this because I would like to > > * know if anybody is interested in [GUI plot editor] feature, > too (couldn't find anything through searching the list). I would like to see this capability in matplotlib. > * work t

Re: [matplotlib-devel] Plot Edit Proposal for WX Backend

2008-09-16 Thread Michael Droettboom
As an aside -- it's come up a number of times that Enthought Traits may be part of the solution to this. That is, if all of the major properties of artist objects were defined as traits, the trait machinery could automatically build dialog boxes to tweak various parameters etc. That's a major

Re: [matplotlib-devel] Plot Edit Proposal for WX Backend

2008-09-16 Thread Darren Dale
I finally got around to installing the qt4 backend for traits. Switching on the experimental config package built around traits in matplotlib, I was really impressed with being able to do: from matplotlib import mplConfig mplConfig.configure_traits() which yielded a dialog for editing matplotli

[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

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

2008-09-16 Thread John Hunter
On Tue, Sep 16, 2008 at 2:14 PM, Jack Sankey <[EMAIL PROTECTED]> wrote: > 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

[matplotlib-devel] savefig and Text.get_window_extent()

2008-09-16 Thread Eric Firing
dpi settings are still a source of confusion. Suppose one wants to get the bounding boxes of strings in a png file, for use as clickable regions on a web site. Just use the get_window_extent() method of each text object after it has been drawn with savefig, right? Wrong! The gotcha is that g

[matplotlib-devel] Submitting tickets

2008-09-16 Thread Pierre GM
All, What's the mechanism to submit tickets ? I just ran this rather obscure bug that has been reported on numpy/scipy: when import matplotlib when python is started with the -OO flag, a TypeError is raised: File "/usr/lib64/python2.4/site-packages/matplotlib/figure.py", line 623, in Figure

Re: [matplotlib-devel] savefig and Text.get_window_extent()

2008-09-16 Thread John Hunter
On Tue, Sep 16, 2008 at 5:09 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > I find this very confusing--the _renderer.dpi is not being used by > get_window_extent(). Is this the intended behavior? If so, I would > like to at least add a note to that effect to the get_window_extent > docstring No,

Re: [matplotlib-devel] savefig and Text.get_window_extent()

2008-09-16 Thread John Hunter
On Tue, Sep 16, 2008 at 8:57 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 5:09 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > >> I find this very confusing--the _renderer.dpi is not being used by >> get_window_extent(). Is this the intended behavior? If so, I would >> like t

Re: [matplotlib-devel] Submitting tickets

2008-09-16 Thread Eric Firing
Pierre GM wrote: > All, > What's the mechanism to submit tickets ? Pierre, There is a tracker, http://sourceforge.net/tracker/?group_id=80706&atid=560720 but it is better to start exactly as you have, with a message to this list. > > I just ran this rather obscure bug that has been reported on

Re: [matplotlib-devel] savefig and Text.get_window_extent()

2008-09-16 Thread Eric Firing
John Hunter wrote: > On Tue, Sep 16, 2008 at 8:57 PM, John Hunter <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 16, 2008 at 5:09 PM, Eric Firing <[EMAIL PROTECTED]> wrote: >> >>> I find this very confusing--the _renderer.dpi is not being used by >>> get_window_extent(). Is this the intended behavior?

Re: [matplotlib-devel] savefig and Text.get_window_extent()

2008-09-16 Thread John Hunter
On Tue, Sep 16, 2008 at 9:00 PM, John Hunter <[EMAIL PROTECTED]> wrote: > Oops, wait, I answered too fast. The figure.dpi *was* already used in > the cache key and the renderer.dpi, which I just added, is not > guaranteed to exist (depending on the backend). I need to figure out > why the figur