how to set the limit of x and y axis in matplotlib code example Example: limit axis matplotlib plt.xlim(0, 100)