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

2007-12-11 Thread Fernando Perez
On Dec 11, 2007 5:42 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Dec 11, 2007 at 05:37:41PM -0700, Fernando Perez wrote: > > The tconfig objects already have a very dict-like representation for > > dumping into a text file, the .ini format. Or do you mean something > > that's even close

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

2007-12-11 Thread Gael Varoquaux
On Tue, Dec 11, 2007 at 05:37:41PM -0700, Fernando Perez wrote: > The tconfig objects already have a very dict-like representation for > dumping into a text file, the .ini format. Or do you mean something > that's even closer to a dict, curly braces and all? No, I don't care about the curly brace.

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

2007-12-11 Thread Fernando Perez
On Dec 11, 2007 5:32 PM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Dec 11, 2007 at 07:14:11PM -0500, Darren Dale wrote: > > RcParamsWrapper was created so we could get matplotlib working with the new > > config object without a massive rewrite of the entire library. The intention > > is t

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

2007-12-11 Thread Gael Varoquaux
On Tue, Dec 11, 2007 at 07:14:11PM -0500, Darren Dale wrote: > RcParamsWrapper was created so we could get matplotlib working with the new > config object without a massive rewrite of the entire library. The intention > is to use the object-oriented interface internally, and to encourage users to

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

2007-12-11 Thread Darren Dale
On Tuesday 11 December 2007 7:03:57 pm Gael Varoquaux wrote: > On Mon, Dec 10, 2007 at 08:23:57AM -0500, Darren Dale wrote: > > 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 cons

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

2007-12-11 Thread Gael Varoquaux
On Mon, Dec 10, 2007 at 08:23:57AM -0500, Darren Dale wrote: > 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

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

[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