Matplotlib Posición de etiqueta de garrapata izquierda y derecha eje x

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