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
jslavin@...1081... 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
______________________________________________________________