[matplotlib-devel] font_manager.py

2007-12-10 Thread Nils Wagner
Hi all, python setup.py install --prefix=$HOME/local results in font_manager.py", line 115 finally: ^ SyntaxError: invalid syntax Nils I am using python2.3. - SF.Net email is sponsored by: Check out the n

[matplotlib-devel] Insight on dealing with configuration

2007-12-10 Thread Gael Varoquaux
Hey, I am about to start a configuration file for mayavi's mlab, and I am strongly considering mimicking matplotlib's way of doing things. I am almost sold to Fernando's TConfig, but I am not too sure how this fits with the current rcParams dictionnary. Is there some code that I could study to s

Re: [matplotlib-devel] font_manager.py

2007-12-10 Thread Manuel Metz
Found the same bug, which is a """ try: except: finally: """ clause, which is not allowed ;-) Nils Wagner wrote: > Hi all, > > python setup.py install --prefix=$HOME/local > results in > > font_manager.py", line 115 > finally: >^ > SyntaxError: invalid syntax > > Nils > > I

Re: [matplotlib-devel] Insight on dealing with configuration

2007-12-10 Thread Darren Dale
Hi Gael, On Monday 10 December 2007 3:58:48 am Gael Varoquaux wrote: > I am about to start a configuration file for mayavi's mlab, and I am > strongly considering mimicking matplotlib's way of doing things. > > I am almost sold to Fernando's TConfig, but I am not too sure how this > fits with the

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Michael Droettboom
Charlie Moad wrote: > I did some more digging and it looks like this changed with the > transforms. curve4 is now being called instead of arc_to, which uses > beziers. curve4 is the way to specify a cubic bezier curve, so it is functionally equivalent to the old arc_to approach (but easier to be

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Michael Droettboom
Michael Droettboom wrote: > Charlie Moad wrote: >> I did some more digging and it looks like this changed with the >> transforms. curve4 is now being called instead of arc_to, which uses >> beziers. > > curve4 is the way to specify a cubic bezier curve, so it is functionally > equivalent to the

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread John Hunter
On Dec 10, 2007 8:51 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I have 8-spline approximation working on the trunk and on the transforms > branch. (r4679) Thanks Michael, I was working on this myself but it is hard for me to keep up with you :-) In reading the paper Charlie sent and lin

[matplotlib-devel] finally in font_manager

2007-12-10 Thread John Hunter
The finally clauses in font_manager.py are python2.5 only and should be removed. Michael, I suspect you added these when cleaning up the open file handle bugs, but we'll have to find another solution. Shouldn't these be picked up by the garbage collector? JDH ---

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Michael Droettboom
John Hunter wrote: > On Dec 10, 2007 8:51 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > >> I have 8-spline approximation working on the trunk and on the transforms >> branch. (r4679) > > Thanks Michael, I was working on this myself but it is hard for me to > keep up with you :-) No problem

Re: [matplotlib-devel] finally in font_manager

2007-12-10 Thread Michael Droettboom
John Hunter wrote: > The finally clauses in font_manager.py are python2.5 only and should > be removed. Michael, I suspect you added these when cleaning up the > open file handle bugs, but we'll have to find another solution. I added this cleaning up a fairly narrow Vista-only bug at the suggest

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Ted Drain
Everyone, Before someone spends a lot of time re-working the ellipse code to add more splines, I think we should talk about the problem and maybe consider another approach. The real problem w/ this for us is that we plot a lot of things at interplanetary scales (millions of kilometers). Even 1

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread John Hunter
On Dec 10, 2007 10:25 AM, Ted Drain <[EMAIL PROTECTED]> wrote: > I don't know if the current MPL architecture can support this but it > would be nice if it worked that way. We have people making decisions > based on what these plots show that affect spacecraft worth hundreds > of millions of doll

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Michael Droettboom
John Hunter wrote: > On Dec 10, 2007 10:25 AM, Ted Drain <[EMAIL PROTECTED]> wrote: > >> I don't know if the current MPL architecture can support this but it >> would be nice if it worked that way. We have people making decisions >> based on what these plots show that affect spacecraft worth hund

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-10 Thread Ted Drain
All of these sound like good ideas to me. Just for some history: the original reason we worked w/ John to get an Ellipse primitive in (vs a normal line plot of sampled points) were to: - improve ellipse plotting speeds (we plot a LOT of them at once) - improve post script output Ted At 08:53 A

[matplotlib-devel] versions of freetype, libpng, zlib, etc?

2007-12-10 Thread william ratcliff
I am again trying to build matplotlib from source on svn--What versions of freetype, libpng, zlib, etc. are used for the current build (I'm using mingw)? Also, can someone update the win32_static folder to reflect the current versions? Thanks William