From: Darren D. <dar...@co...> - 2007-12-10 13:24:16
|
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 current rcParams dictionnary. Is there some code that I > could study to see how it's done? Look in matplotlib/config/mplconfig.py, there is a class called RcParamsWrapper that was designed to make the transition from rcParams to TConfig easy for both developers and users. It should make the relationship between the two pretty clear. Darren |