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 to use the object-oriented interface internally, and to encourage users > > to > > do the same. RcParamsWrapper simply provides the upgrade path. > > OK, Thanks a lot. I'll probably stick with pure objects, than, but I > might modify the __repr__ of the object to make it more easily for the > user to edit this interactively (ie making a representation more like to > one you would get out of a dictionnary.
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? > The problem is that it would break your script, so I can't send you a > patch. I'd like the codebase to stay similar, so maybe we can discuss > this once I have some code. Yup, it would be good not to have mpl-tconfig, ipython-tconfig and mayavi-tconfig :) Cheers, f ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel