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@jalfrezi:~$ 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
willgrain...@gmail.com

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to