How to make the axis step for scatter plot in python code example Example: how to select axis value in python plt.xticks(np.arange(x.min(), x.max(), 2))