matplotrc and legend font

Is there a setting in the .matplotlibrc file to control the font size for the legend?

I tried setting "font.size : x-large #medium", but that didn't work.

I also tried just including prop=FontProperties('large') in the legend call, but that gave an error. So, I am not understanding the help on legend either.

Thanks,

Ryan

Try checking legend_demo.py from the examples.

Darren

···

On Monday 23 May 2005 6:39 pm, Ryan Krauss wrote:

Is there a setting in the .matplotlibrc file to control the font size
for the legend?

I tried setting "font.size : x-large #medium", but that didn't
work.

I also tried just including prop=FontProperties('large') in the legend
call, but that gave an error. So, I am not understanding the help on
legend either.

Thanks Dale. Based on that example, I can set the fontsize from a script. Is there a way to do it from the rc file? It would be great to set it once with the rest of my font preferences.

Ryan

Darren Dale wrote:

···

On Monday 23 May 2005 6:39 pm, Ryan Krauss wrote:

Is there a setting in the .matplotlibrc file to control the font size
for the legend?

I tried setting "font.size : x-large #medium", but that didn't
work.

I also tried just including prop=FontProperties('large') in the legend
call, but that gave an error. So, I am not understanding the help on
legend either.
   
Try checking legend_demo.py from the examples.

Darren