Hi, all how to change the spacing between axes and ticks
> labels, ticks labels and axes labels? I mean vertical
> spacing for X axis and horizontal one for Y.
See these parameters from your matplotlibrc file:
http://matplotlib.sf.net/matplotlibrc
xtick.major.pad : 4 # distance to major tick label in points
xtick.minor.pad : 4 # distance to the minor tick label in points
ytick.major.pad : 4 # distance to major tick label in points
ytick.minor.pad : 4 # distance to the minor tick label in points
From code, you can also control the pad with, for example,
for tick in ax.xaxis.get_major_ticks():
tick.set_pad(6)
ditto for the yaxis and minor ticks..
JDH