pyplot code code example Example: matplotlib include first number in plotter ax.set_xticks(np.arange(len(x))) ax.set_xticklabels(x, rotation = 45)