Something makes y-axis range too wide

If Plots can’t figure out the y axis limits from the data given (which is the case when your curve is constant) it just adds 1.
The solution is to explicitly set the ylims you want to have.

1 Like