On Wed, Jun 10, 2009 at 9:40 AM, Paul Anton Letnes<paul.anton.let...@gmail.com> wrote:
> Hm, I see. Thanks for an informative answer. I'll dig into my rcParams > and matplotlibrc then... That is worth doing, but you needn't change the defaults. You can also pass in the arguments explicitly: fig = plt.figure((3,3)) fig.subplots_adjust(left=0.2, bottom=0.2) ax = fig.add_subplot(111) ax.plot(something) ax.set_xlabel('test', fontsize=10) for label in ax.get_xticklabels() + ax.get_yticklabels(): label.set_fontsize(8) plt.show() If you do want to change the defaults via matplotlibrc, though, something to bear in mind is that you can have "per-directory" rc files. So for example if you want your defaults to be changed for a figures for publication, you can drop an rc file into the scripts directory for that publication, and that will be used for that directory only and will not affect the global defaults in ~/.matplotlib/matplotlibrc. See http://matplotlib.sourceforge.net/users/customizing.html JDH ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users