vertical sticks labels python matplotlib code example Example: tick labels vertical matplotlib plt.xticks(rotation=45)