Fixing NaN's on Y axis when values equal 0