Need to set xticks first, then set xticklabels.
x = np.arange(len(df_pivot['tla'])) ax2.set_xticks(x) ax2.set_xticklabels(df_pivot['tla'])