Daniel Platz <mail.to.daniel.pl...@googlemail.com> writes: > t = cb4.ax.get_xticklabels() > for j in t: > j.set_text(r'$\pi$') > j.set_fontsize(10) > j.set_family('serif')
Try cb4.ax.set_xticklabels([r'$-\pi$', ...]); draw() > Another problem is that I want to adjust the fontsize of the colorbar > ticklabels on four subplots. This only works for the last two subplots > with the syntax shown above. The same syntax has no effect on the first > two subplots. You should be able to pass font properties to set_xticklabels. If that doesn't work, please post a complete example. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users