|
From: Fabien L. <laf...@gm...> - 2012-08-30 17:28:46
|
Thanks,
I've found the problem. I use xlabel("name of my axis", size= 30) after
matplotlib.rcParams['xtick.
labelsize'] = 12.0 and it cancel it! Is it possible to have a name on the
axe and matplotlib.rcParams['xticks.
labelsize'] = 12.0 ??
2012/8/30 Damon McDougall <dam...@gm...>
> On Thu, Aug 30, 2012 at 07:06:14PM +0200, Fabien Lafont wrote:
> > I've tried also but it returns an error:
> >
> > matplotlib.rcParams['xticks.labelsize'] = 12.0
> > File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 653,
> in
> > __setitem__
> > See rcParams.keys() for a list of valid parameters.' % (key,))
> > KeyError: 'xticks.labelsize is not a valid rc parameter.See
> rcParams.keys()
> > for a list of valid parameters.'
> >
>
> It's actually 'xtick.labelsize'. No 's'.
>
> --
> Damon McDougall
> http://www.damon-is-a-geek.com
> B2.39
> Mathematics Institute
> University of Warwick
> Coventry
> West Midlands
> CV4 7AL
> United Kingdom
>
|