Hi all,

I've been trying to use a different serif font for a plot and have been
running into problems.  I thought I could just do something like:

from matplotlib import rc
rc('font', family='serif', serif='Times New Roman')

but if I try that I end up getting:
findfont: Font family ['serif'] not found. Falling back to Bitstream
Vera Sans

It works fine without the serif='...' part and gives me the default
serif font.  I know that Times New Roman exists on my system -- at least
the GNOME character map can find it.  Perhaps I need to use a different
alias (but what would it be?).  Any help would appreciated.

Jon
-- 
______________________________________________________________
Jonathan D. Slavin              Harvard-Smithsonian CfA
jsla...@cfa.harvard.edu         60 Garden Street, MS 83
phone: (617) 496-7981           Cambridge, MA 02138-1516
 cell: (781) 363-0035           USA
______________________________________________________________


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to