Torsten Hahn wrote: > Hello, > > i am having some trouble to make the pictures for my thesis look > good. I could not figure out, how i can change the space between the > axis and the tick-labels in my plots. > > Can anyone help me?
There is an rcParams setting for this. You can set it in the matplotlibrc file, or directly in the script. For example, from matplotlib import pyplot as plt plt.rc(('xtick.major', 'ytick.major'), pad=20) plt.plot([1,2,3]) plt.show() (If this fails because you don't have pyplot--you are using an older version of mpl--change the import line to "import pylab as plt".) Eric > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users