Hello,
To set the x-axis tick alignment globally, we can set xtick.alignment in a matplotlibrc file. But how do I this on a per plot basis? For example, I can do this:
mpl.rcParams[‘xtick.alignment’] = ‘center’
plt.plot([1,2,3], [5,3,9])
mpl.rcParams[‘xtick.alignment’] = ‘left’
plt.plot([1,2,3], [5,3,9])
but how can I get/set the alignment on a specific plot?
Thanks