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 changes.
Some notes: - All of the code associated with reading config files and creating config objects has been organized into an experimental config package, and is therefore disabled by default. To enable the config package, set "NEWCONFIG = True" in matplotlib.__init__.py. - Once enabled, the config package supports either the old matplotlibrc files (used by the rcparams module) or the newer matplotlib.conf files (used by the traited mplconfig module). The config package defaults to the traited mplconfig option. The config package will use the old matplotlibrc system if you set "USE_TRAITED_CONFIG = False" in matplotlib/config/__init__.py -The traited config module will create a new matplotlib.conf file from a standard matplotlibrc file when appropriate. -Fernando's tconfig module will not work with the version of traits ships with matplotlib (we can update our version when Enthought makes their release). This will get you a more recent version: sudo easy_install -f http://code.enthought.com/enstaller/eggs/source/unstable "enthought.traits < 3.0a" 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. If you have the luxury, please update from svn and try working with the traited config module enabled. Any feedback would be appreciated. Darren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel