Hi Eric, Mike,

On Monday 10 September 2007 08:08:42 am Michael Droettboom wrote:
> Eric Firing wrote:
> > There is an inconsistency between mpl-data/matplotlib.conf and
> > config/mplconfig.py.  The former has [[math]] under [text], but the
> > latter is based on a separate [mathtext].  It would be trivial to
> > resolve the inconsistency, but I don't know which way it should be
> > resolved, so I will leave this to you or Mike.
> >
> Darren,
>
> I trust your judgement on which way to go, as you have a better sense of
> how other settings have been laid out.  I'm happy to do the work -- I
> just don't know which is correct going forward (these are new settings,
> so backward compatibility isn't a concern.)
>
> The values in matplotlib.conf should also should be updated to match
> mplconfig.py.

Eventually, matplotlib.conf should be autogenerated when setup.py is run. I 
have not tried to do this yet, maybe I can spend some time on it next 
weekend.

The mathtext settings are more like font.* settings than text.*, so I think 
they should get their own section (like in matplotlib.conf) instead of a 
subsection of text (like in mplConfig).

As for the greater organization of mplConfig, I laid things out in a way that 
made sense to me, but this organization is completely hidden right now, and I 
think we should discuss it before it congeals. For example, some might feel 
strongly that we should stick to the rcParams organization, to make a 
possible future transition as easy as possible. Here is what I changed:

rcParams                                         mplConfig
-----------------------------|-----------------------------------
backend                       backend.use
font.sans-serif              font.sans_serif
text.dvipnghack           text.latex.dvipnghack
polaraxes.grid              axes.polargrid
cairo.*                           backend.cairo.*
tk.*                                backend.tk.*
ps.*                               backend.ps.*
ps.usedistiller              backend.ps.distiller.use
ps.distiller.res              backend.ps.distiller.resolution
pdf.*                             backend.pdf.*
svg.*                             backend.svg.*

Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to