|
From: John H. <jd...@gm...> - 2010-08-04 16:20:04
|
On Wed, Aug 4, 2010 at 11:07 AM, Tommy Grav <tg...@ma...> wrote:
> A rather simple question, but I could not find the
> answer while rummaging around on the matplotlib
> webpages. Is there a way to increase the size of
> the tick label sizes from say fontsize 9 to 12?
for label in ax.get_xticklabels() + ax.get_yticklabels():
labe.set_fontsize(12)
You may want to take a look at the artist tutorial, which gives an
overview of all the objects in the matplotlib figure, how to get at
them and modify them, etc.
http://matplotlib.sourceforge.net/users/artists.html
JDH
|