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