From 10de6fa9bffb9ca58b0c51f95b1276f6e349ed9f Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Sun, 5 Mar 2017 23:39:37 -0800 Subject: [PATCH] whitespace --- chart.go | 1 - 1 file changed, 1 deletion(-) diff --git a/chart.go b/chart.go index 5f0508d..7bc8c0f 100644 --- a/chart.go +++ b/chart.go @@ -314,7 +314,6 @@ func (c Chart) checkRanges(xr, yr, yra Range) error { if math.IsNaN(yDelta) { return errors.New("nan y-range delta") } - if yDelta == 0 { return errors.New("zero y-range delta") }