inverted hardcoded ymin, ymax so that min < max