Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-09-17 Thread Darren Dale
In case anyone is interested, it looks like the new config package is working with traits 3. This morning I uninstalled my enthought-2.whatever packages and installed etsconfig-2.1 and traits-3 from enthought's svn trunk (using the usual python setup.py install, not easy_install). backend_driver

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-20 Thread Darren Dale
On Saturday 18 August 2007 12:44:20 pm Fernando Perez wrote: > Here's some interesting info. I'm sitting here with Dave Peterson, > from Enthought, and we've done a bunch of profiling that pointed to > setuptools, not Traits, being the culprit for the time increase. > We've now just done an instal

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-18 Thread Fernando Perez
Hi all, On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote: > So, 10% slower with backend_agg, 18% slower with backend_svg. It's not > devastating, but it's not so great, either. > > > Those results look fine to me. I dont know what has changed since we last > > discussed this, but when Eric brou

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-17 Thread Darren Dale
On Friday 17 August 2007 01:35:32 pm william ratcliff wrote: > A simple question--if you add traits into matplotlib, will people still > be able to build executables? I remember reports of py2exe having > problems with traits. Is this what you are referring to? https://svn.enthought.com/entho

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-17 Thread william ratcliff
A simple question--if you add traits into matplotlib, will people still be able to build executables? I remember reports of py2exe having problems with traits. Cheers, William On 8/17/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > Thanks for fixing that. I haven't been running with

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-17 Thread Michael Droettboom
Thanks for fixing that. I haven't been running with the new traits config stuff, so I didn't catch that my new parameters weren't ported over. Cheers, Mike - This SF.net email is sponsored by: Splunk Inc. Still grepping thr

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Eric Firing
Darren Dale wrote: > On Thursday 16 August 2007 5:25:47 pm Fernando Perez wrote: >> On 8/16/07, Darren Dale <[EMAIL PROTECTED]> wrote: >>> On Thursday 16 August 2007 03:33:37 pm Darren Dale wrote: On Thursday 16 August 2007 03:15:39 pm Fernando Perez wrote: > On 8/16/07, Eric Firing <[EMAI

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Darren Dale
On Thursday 16 August 2007 5:25:47 pm Fernando Perez wrote: > On 8/16/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > On Thursday 16 August 2007 03:33:37 pm Darren Dale wrote: > > > On Thursday 16 August 2007 03:15:39 pm Fernando Perez wrote: > > > > On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Fernando Perez
On 8/16/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 16 August 2007 03:33:37 pm Darren Dale wrote: > > On Thursday 16 August 2007 03:15:39 pm Fernando Perez wrote: > > > On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote: > > > > Fernando, > > > > > > > > Thanks for taking the opportunit

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Darren Dale
On Thursday 16 August 2007 03:33:37 pm Darren Dale wrote: > On Thursday 16 August 2007 03:15:39 pm Fernando Perez wrote: > > On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote: > > > Fernando, > > > > > > Thanks for taking the opportunity of checking into this now. I have to > > > pass the buck, th

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Darren Dale
On Thursday 16 August 2007 03:15:39 pm Fernando Perez wrote: > On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote: > > Fernando, > > > > Thanks for taking the opportunity of checking into this now. I have to > > pass the buck, though--the bug you ran into looks like the intersection > > between Mik

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Fernando Perez
On 8/16/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Fernando, > > Thanks for taking the opportunity of checking into this now. I have to > pass the buck, though--the bug you ran into looks like the intersection > between Mike's extensive mathtext work and Darren's experimental > replacement rc sy

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Eric Firing
Fernando, Thanks for taking the opportunity of checking into this now. I have to pass the buck, though--the bug you ran into looks like the intersection between Mike's extensive mathtext work and Darren's experimental replacement rc system, and apart from the testing you refer to (prior to mu

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-16 Thread Fernando Perez
Hi guys, [ For the Enthought gang, sorry for the cross-post. This is the context: http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg01451.html We're trying to see if it would be reasonable to use Traits for the matplotlib config description, but there seem to be performance

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
On Tuesday 31 July 2007 02:12:06 pm you wrote: > Looking at the profile outputs, a couple of things stand out in the new > version.  First, various Traits things are prominent near the top. pycachegrind is telling me that traits_db is responsible for about 20%, configobj is responsible for about

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Fernando Perez
On 7/31/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Eric Firing wrote: > > I don't have a lot of experience with profiling... > Slightly OT, but I do have a recommendation for anyone doing Python > profiling. I don't usually get very excited about GUI tools, but > KCachegrind (Linux only)

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Michael Droettboom
Eric Firing wrote: > I don't have a lot of experience with profiling... Slightly OT, but I do have a recommendation for anyone doing Python profiling. I don't usually get very excited about GUI tools, but KCachegrind (Linux only) is very slick and works great with Python. It's really handy to

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Eric Firing
Darren, The two cases you ran have almost identical timing, so the problem is not in reading matplotlib.conf. Instead, it seems to be in the initialization of all the machinery, and I suspect that something may be getting run many times in a loop instead of just once. I used the profile.py

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Fernando Perez
On 7/31/07, Darren Dale <[EMAIL PROTECTED]> wrote: > I am attaching the results for two different tests. One is loading the default > mpl-data/matplotlib.conf, the other is loading an empty > ~/.matplotlib/matplotlib.conf. I haven't done much work with profiling, maybe > others can make some comme

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
On Tuesday 31 July 2007 11:08:42 am Darren Dale wrote: > On Monday 30 July 2007 07:10:01 pm Eric Firing wrote: > > Darren Dale wrote: > > > I just committed changes in svn that will allow matplotlib to use the > > > experimental traited mplconfig module. The traited config object itself > > > is ca

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
On Monday 30 July 2007 07:10:01 pm Eric Firing wrote: > Darren Dale wrote: > > I just committed changes in svn that will allow matplotlib to use the > > experimental traited mplconfig module. The traited config object itself > > is called mplConfig, but I wrapped it in an object called rcParams to

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-31 Thread Darren Dale
Hi Eric, On Monday 30 July 2007 10:14:22 pm Eric Firing wrote: > I have not made any matplotlib.conf other than the one that is now being > installed correctly in mpl-data, and it contains > > # display grid on regular or polar axes > grid = False > polargrid = True > > grep indicat

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Eric Firing
Darren Dale wrote: > On Monday 30 July 2007 6:58:17 pm Eric Firing wrote: >> Darren, >> >> It looks like there is a problem with the grid lines. Although the >> matplotlib.conf file is specifying linestyle = ':', and False for the >> axes.grid parameter, everything is coming up with solid lines (

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Darren Dale
On Monday 30 July 2007 6:58:17 pm Eric Firing wrote: > Darren, > > It looks like there is a problem with the grid lines. Although the > matplotlib.conf file is specifying linestyle = ':', and False for the > axes.grid parameter, everything is coming up with solid lines (see > barh_demo.py, for ex

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Darren Dale
On Monday 30 July 2007 7:10:01 pm Eric Firing wrote: > Darren Dale wrote: > > I just committed changes in svn that will allow matplotlib to use the > > experimental traited mplconfig module. The traited config object itself > > is called mplConfig, but I wrapped it in an object called rcParams to >

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Eric Firing
Darren Dale wrote: > I just committed changes in svn that will allow matplotlib to use the > experimental traited mplconfig module. The traited config object itself is > called mplConfig, but I wrapped it in an object called rcParams to make it > compatible with matplotlib, so we can kick the ti

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Eric Firing
Darren, It looks like there is a problem with the grid lines. Although the matplotlib.conf file is specifying linestyle = ':', and False for the axes.grid parameter, everything is coming up with solid lines (see barh_demo.py, for example) by default. It looks like those two keys are not set

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Eric Firing
Darren, When I make a clean build and install, set NEWCONFIG, and try to run I get a permission problem. It looks like the problem is that the global matplotlib.conf is not getting generated and installed at build/install time, but I have not investigated it. Eric convert! Traceback (most re

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Darren Dale
On Monday 30 July 2007 4:49:24 pm Eric Firing wrote: > Darren, > > When I make a clean build and install, set NEWCONFIG, and try to run I > get a permission problem. It looks like the problem is that the global > matplotlib.conf is not getting generated and installed at build/install > time, but I

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Michael Droettboom
Darren Dale wrote: > On Monday 30 July 2007 03:33:11 pm you wrote: > >> Darren Dale wrote: >> >>> I ran backend_driver with the traited config enabled, and the only errors >>> I got were related to broken mathtext support in backend_svg, and I think >>> those are unrelated to my changes. >>

Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Michael Droettboom
Darren Dale wrote: > I ran backend_driver with the traited config enabled, and the only errors I > got were related to broken mathtext support in backend_svg, and I think those > are unrelated to my changes. > I think I broke that for a few hours this morning, but it's working for me now. N

[matplotlib-devel] Experimental, traited config module available in svn

2007-07-30 Thread Darren Dale
I just committed changes in svn that will allow matplotlib to use the experimental traited mplconfig module. The traited config object itself is called mplConfig, but I wrapped it in an object called rcParams to make it compatible with matplotlib, so we can kick the tires without extensive chan