Only integers on y axis

Hello!

I actually think, python and js are quite similar in this case. We have another topic over here with the exact same question for python.