I think I'm using MPL .99.1 (is there a command to check?) on Windows XP.
Thanks for the debug tip, I don't think posting the whole thing is necessary
because this line seems to be the problem:
findfont: Could not match
It would still be helpful to see the whole listing (send it to me
offlist) because that will indicate where fonts are being looked for,
and hopefully *why* this is failing.
It should search for fonts in the standard Windows location (usually
C:\Windows\Fonts). Have you tried setting
Ah ok, I've sent it on to you. I've just tried setting font.family to New
Century Schoolbook directly but it generates something similar. I'm
starting to think part of the problem is that I've set the home directory to
U: somehow, U: being a shared drive which doesn't have a font directory...
For the benefit of future users Googling this problem --
After an off-list discussion, we realized there were a couple of fonts
on Alex' system with the names Century Schoolbook and New Century
Schoolbook LT Std. Using one of those names instead resolved the problem.
Mike
Alex S wrote:
Ah
Yup, thanks for the help everyone
Michael Droettboom-3 wrote:
For the benefit of future users Googling this problem --
After an off-list discussion, we realized there were a couple of fonts
on Alex' system with the names Century Schoolbook and New Century
Schoolbook LT Std. Using one
Can you set verbose.level to debug-annoying in your matplotlibrc
file, and then send the output to this list. That may help us track
down where the font lookup is failing. Also, what platform and version
of matplotlib are you running?
Mike
Alex S wrote:
Hi, sorry I wasn't too clear... I
On Thu, Apr 1, 2010 at 11:21 AM, Alex S schmitt.happ...@gmail.com wrote:
Hi there,
I'm trying to change the font default on my graph to New Century Schoolbook.
I'm trying to do this by editing the matplotlibrc file. Unfortunately,
although I'm able to change the font.family, I can't figure
Hi, sorry I wasn't too clear... I changed that, but I don't seem to be able
to choose between the different serif fonts, it just always gives me the
default...
Alex S wrote:
Hi there,
I'm trying to change the font default on my graph to New Century
Schoolbook. I'm trying to do this by
I've been looking for an elegant way to change, on a per-plot basis,
the font attributes of my x and y tick labels. The best I've come up
with is getting a list/collection of tick labels and looping through
it to change the font attributes. Is there an easy one or two line
way to do it?
I would like to know how to change the font for the legend.
The usual method of:
yticklabels = getp(gca(), 'yticklabels')
setp(yticklabels, color='black', fontsize=6)
Does not seem to work for legend.
And when I try:
legend( ... prop=FontProperties('smaller') )
as per the webpage,
Derek == Derek Hohls [EMAIL PROTECTED] writes:
Derek legend( ... prop=FontProperties('smaller') )
Derek as per the webpage, I get a warning message and the font
Derek size is unchanged.
Derek What is the best method for changing font properties
Derek (e.g. point size,
11 matches
Mail list logo