Fixed #3113, roundoff error throwing off calculations of extremes on log axis.