From: John H. <jd...@gm...> - 2009-11-01 13:03:46
|
2009/11/1 Stéfan van der Walt <st...@su...>: > 2009/10/31 Eric Firing <ef...@ha...>: >> You forgot the attachment. > > I hate it when that happens -- here it is! Hey Stéfan, To avoid the overlap on the titles and ticks, you will want to play with the font size of the ticks and title, but most importantly the subplots_adjust parameters hspace and wspace. If using a suptitle, you may also want to adjust top. Eg, # you can also click on the "subplots adjust" toolbar icon to play with the # settings to get something that looks right and then hard code this fig.subplots_adjust(hspace=0.4, wspace=0.4) for ax in ax1, ax2, ax3, ax4: ax.title.set_fontsize(11) for label in ax.get_xticklabels() + ax.get_yticklabels)(): label.set_fontsize(9) You can also use rc parameters to control the defaults: http://matplotlib.sourceforge.net/users/customizing.html JDH |