Hello,

I am trying to change the default font by adding the following lines
to the matplotlibrc file:

## FONT
font.family : serif
font.serif : Palatino

However, I get the following error.

/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/matplotlib/font_manager.py:1242:
UserWarning: findfont: Font family ['serif'] not found. Falling back
to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))

If I just use:

font.family : serif

I get a serif font (that is not Palatino). I certainly have Palatino
on my machine (Mac OS X 10.5.8).
Am I doing something wrong? If I want all text to be some font, is
there a way to change it in matplotlibrc file?

Thanks for your help.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to