Hello,
While this code works perfectly, there could be some fluctuation on the Y axis values. There could be, for example, 50 as the value of a datapoint; and the interval display would be rather crammed to fit it all inside if the interval was just set to 1. Is there a way to make this more dynamic?