[matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Michael Droettboom
[Background: I'm working on refactoring the transforms framework with the end goal of making it easier to add new kinds of non-linear transforms and projections to matplotlib. I've been talking a bit with John Hunter about this -- this question is mainly for John and Ken McIvor, though there a

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Michael Droettboom
Yes. Sorry. It's in r3837 on the branch. Cheers, Mike John Hunter wrote: > On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> If you check out r3835 from my branch, simple_plot.py is working, with >> the exception of things that rely on this really low-level >> interdependence, e.g

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Michael Droettboom
I should also add -- it's only working with the Agg backend. John Hunter wrote: > On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> If you check out r3835 from my branch, simple_plot.py is working, with >> the exception of things that rely on this really low-level >> interdependence,

[matplotlib-devel] Basemap toolkit: problem with polarplot example

2007-09-12 Thread David Huard
Hi, the pyproj package seems to cause a problem in the polarmap example of the basemap toolkit. Thanks, david [EMAIL PROTECTED]:~/svnrepos/toolkits/basemap/examples$ python polarmaps.py min/max etopo20 data: -9026.625 6228.8125 plotting North Polar Lambert Azimuthal Equal Area basemap ... plotti

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread John Hunter
On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > If you check out r3835 from my branch, simple_plot.py is working, with > the exception of things that rely on this really low-level > interdependence, e.g. the data limits.) I am at 3836 in the transforms branch, but I do not see "pbox".

Re: [matplotlib-devel] Basemap toolkit: problem with polarplot example

2007-09-12 Thread Jeff Whitaker
David Huard wrote: > Hi, the pyproj package seems to cause a problem in the polarmap > example of the basemap toolkit. > > Thanks, > > david > > [EMAIL PROTECTED]:~/svnrepos/toolkits/basemap/examples$ python polarmaps.py > min/max etopo20 data: > -9026.625 6228.8125 > plotting North Polar Lambert

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread John Hunter
On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > This approach got closer, until I hit the wall that dependencies work at > an even lower level -- single lazy values get borrowed from one bounding > box and referenced in another (e.g. Axes.autoscale_view()) Certainly, > this could be i

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Michael Droettboom
John Hunter wrote: > On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I need to spend more time reading through your code before I comment > further, but I just wanted to make a quick comment vis-a-vis the > locators and formatters. I commited these changes to your branch, and > autosca

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread John Hunter
On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Thanks for taking the time. Very helpful (and please excuse the mess in > the code -- I was just trying to get something end-to-end working before > refining/optimizing/documenting etc...) I think this is definitely the right approach -

Re: [matplotlib-devel] Basemap toolkit: problem with polarplot example

2007-09-12 Thread Jeff Whitaker
David Huard wrote: > Hi Jeff, > > Here is the output. Thanks for looking into this. > > > In [1]: from matplotlib.toolkits.basemap import pyproj > > In [2]: pyproj.test() > Trying: > from pyproj import Geod > Expecting nothing > ok > Trying: > g = Geod(ellps='clrk66') # Use Clarke 1966 elli

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread John Hunter
On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > So, I feel like I'm going in a bit of a circle here, and I might need a > reality check. I thought I'd better check in and see where you guys > (who've thought about this a lot longer than I have) see this going. A > statement of object

Re: [matplotlib-devel] Basemap toolkit: problem with polarplot example

2007-09-12 Thread Jeff Whitaker
David Huard wrote: > Hi Jeff, > > Here is the output. Thanks for looking into this. > > > In [1]: from matplotlib.toolkits.basemap import pyproj > > In [2]: pyproj.test() > Trying: > from pyproj import Geod > Expecting nothing > ok > Trying: > g = Geod(ellps='clrk66') # Use Clarke 1966 elli

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Paul Kienzle
On Wed, Sep 12, 2007 at 01:11:54PM -0500, John Hunter wrote: > On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > > So, I feel like I'm going in a bit of a circle here, and I might need a > > reality check. I thought I'd better check in and see where you guys > > (who've thought about

Re: [matplotlib-devel] Bar plot forget units information

2007-09-12 Thread John Hunter
On 9/11/07, James Evans <[EMAIL PROTECTED]> wrote: > When using the 'bar' plot command, unit information is lost when changing > the units for a given axis. The attached script demonstrates this. > This is not the case for line plots because of the use of Line2D's 'recache' > method. While the

Re: [matplotlib-devel] Basemap toolkit: problem with polarplot example

2007-09-12 Thread David Huard
Jeff, all tests pass. Thanks again, David 2007/9/12, Jeff Whitaker <[EMAIL PROTECTED]>: > > David Huard wrote: > > Hi Jeff, > > > > Here is the output. Thanks for looking into this. > > > > > > In [1]: from matplotlib.toolkits.basemap import pyproj > > > > In [2]: pyproj.test() > > Trying: > >

Re: [matplotlib-devel] Reconfiguring transforms

2007-09-12 Thread Gael Varoquaux
On Wed, Sep 12, 2007 at 01:11:54PM -0500, John Hunter wrote: >Then the front end (eg Line2D) could do something like >def on_renderer_change(self, renderer): > # on renderer change; path data already has the > # separable/nonlinear part handled > self.pathid = renderer.pu

Re: [matplotlib-devel] dviread: usetex for the PDF backend

2007-09-12 Thread Jouni K . Seppänen
The usetex support in pdf is now a little better, so I am enabling it now. At least it is more entertaining than NotImplementedError... I have fixed some of the biggest problems (the broken font embedding causing crashes of Preview.app, and the lack of virtual font support). It still makes some as