Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-08 Thread Glen W. Mabey
On Fri, Jan 05, 2007 at 10:30:50PM -0500, [EMAIL PROTECTED] wrote: > does fontweight = "..." work for you? I couldn't get that one to work I sure can't see any difference in the tick labels, at least (didn't try it for manually-instantiated text). But what I wonder is whether there is some issue

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
On Fri, Jan 05, 2007 at 04:23:53PM -0600, Glen W. Mabey wrote: > Contrary to the comments in the default matplotlibrc, it seems that > font.size does not set the fontsize for axis labels and ticks; you have > to set [xy]tick.labelsize and axes.labelsize explicitly. But I haven't > had a chance to

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
On Fri, Jan 05, 2007 at 04:23:53PM -0600, Glen W. Mabey wrote: > p.get_name() > > If this last statement returns the first element of > matplotlib.rcParams[ 'font.sans-serif' ] > then I would think that everything is working like it ought to. > fallback font is being used (fm.defaultFont)

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread Glen W. Mabey
On Fri, Jan 05, 2007 at 12:21:04PM -0500, [EMAIL PROTECTED] wrote: > In my code I did family="sans-serif" but it didn't seem to have > any effect. Any ideas? I was struggling with this myself this week. Do: import matplotlib.font_manager fm = matplotlib.font_manager.FontManager() If fm

[Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
In my code I did family="sans-serif" but it didn't seem to have any effect. Any ideas? Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your