latex bug/feature in labels?

Not sure if this is a bug or a feature, but
xlabel (and ylabel) doesn't honour the rcParams['font.size']
parameters.

To see this:
x = linspace(0,10)
y = x**2
plot(x,y)
xlabel("x, m")
ylabel(r'y^2, m^2")

rcParams['font.size'] = 20
ylabel(r'y$^{2}$, m')

this is different to
ylabel(r'y$^{2}$, m', fontsize=rcParams['font.size'])

So, xlabel behaviours similarly; the fontsize parameter is
honoured, but the default parameter, as set with rcParams['font.size']
is not.

I would call this a bug, not a feature.

Other info, as requested by the troubleshooting FAQ...
will@...4025...:~$ uname -a
Linux jalfrezi 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC
2012 i686 i686 i386 GNU/Linux
(but also seen in Windows XP)

matplotlib version 1.0.1

matplotlib obtained from the enthought python distribution

Thanks,

W

···

--
Will Grainger
willgrainger@...287...

I think xlabel and ylabel honor rcParams['axes.labelsize'].

Alejandro.

···

On Wed, Mar 14, 2012 at 5:38 PM, Will Grainger <willgrainger@...287...> wrote:

Not sure if this is a bug or a feature, but
xlabel (and ylabel) doesn't honour the rcParams['font.size']
parameters.