Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
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".

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Michael Droettboom
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: >

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
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...

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Michael Droettboom
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 font.famil

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
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 :family=serif:style=normal:variant=normal:weight=normal:stretch=normal:size=

Re: [Matplotlib-users] Changing the font

2010-04-02 Thread Michael Droettboom
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...

Re: [Matplotlib-users] Changing the font

2010-04-01 Thread Alex S
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

Re: [Matplotlib-users] Changing the font

2010-04-01 Thread Jeff Klukas
On Thu, Apr 1, 2010 at 11:21 AM, 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 editing the matplotlibrc file.  Unfortunately, > although I'm able to change the font.family, I can't figure out how to make > it u

[Matplotlib-users] Changing the font

2010-04-01 Thread Alex S
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 out how to make it use something other than the default in the family... I tr

Re: [Matplotlib-users] Changing the font for the legend

2007-01-18 Thread John Hunter
> "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. po

[Matplotlib-users] Changing the font for the legend

2007-01-18 Thread Derek Hohls
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, I