How to globally change the fonts properties ?

Damn... I should have thought about it... but it doesn't work with the "too
large" fonts I'm left with: I changed

  font.size : medium

into

  font.size : x-small

in my ~/.matplotlibrc, but it changed nothing to the font used in the contours
ticks and in the colorbars ticks...

Any other idea ?

Nicolas

···

On Thursday 02 June 2005 15:18, you wrote:

Many of the font sizes can be specified in the .matplotlibrc file.

I had complained about not being able to set the legend fonts and John asked me to become a developer. I haven't started working on it yet, but I plan to when I get back from a conference next week. You may be in the same boat.

Here was John's response to me:

"Ryan" == Ryan Krauss <ryanfedora@...614...> writes:

    > Thanks Dale. Based on that example, I can set the fontsize
    > from a script. Is there a way to do it from the rc file?
    > It would be great to set it once with the rest of my font
    > preferences.

No, but it would not be difficult to add these parameters in rc.
Ready to become an mpl developer? :slight_smile:

Look at matplotlib/__init__.py to see how the rc params are
processed. Add the ones you want and use them in legend.py, following
the example of Text or Line2D in matplotlib.text and matplotlib.line2d
respectively.

JDH

If you make progress on this before I do, let me know how you did it.

Ryan

Nicolas Girard wrote:

···

On Thursday 02 June 2005 15:18, you wrote:

Many of the font sizes can be specified in the .matplotlibrc file.

Damn... I should have thought about it... but it doesn't work with the "too large" fonts I'm left with: I changed

font.size : medium

into

font.size : x-small

in my ~/.matplotlibrc, but it changed nothing to the font used in the contours ticks and in the colorbars ticks...

Any other idea ?

Nicolas

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options