Tried to figure out a good way to set the y axis limits on the graph.