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.'
2012/8/30 Damon McDougall <damon.mcdoug...@gmail.com>
> On Thu, Aug 30, 2012 at 12:04:48PM -0400, Benjamin Root wrote:
> > On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont <lafont.fab...@gmail.com
> >wrote:
> >
> > > There is no effect...
> > >
> > >
> > > 2012/8/30 Damon McDougall <damon.mcdoug...@gmail.com>
> > >
> > >> On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote:
> > >> > Hello,
> > >> >
> > >> > Do you know to change the size of the numbers under the axis?
> > >> >
> > >>
> > >> import matplotlib
> > >> matplotlib.rcParams['axes.labelsize'] = 12.0
> > >>
> > >> Hope this helps.
> > >>
> > >>
> > You want to modify "xtick.labelsize" or "ytick.labelsize". By default,
> > they are "medium", but you can use a number for it as well.
> > "axes.labelsize" effects the axes labels, not the labels for the ticks.
> >
>
> Thanks for that, Ben. Apologies if I caused confusion.
>
> --
> Damon McDougall
> http://www.damon-is-a-geek.com
> B2.39
> Mathematics Institute
> University of Warwick
> Coventry
> West Midlands
> CV4 7AL
> United Kingdom
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users