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