Matplotlib Tick -Etikettposition links und rechts x -Achse

plt.setp(ax.xaxis.get_majorticklabels(), ha='right')
Exuberant Eel