From 8cbdeb73ff9ff17490cd3087d492b3272a314b64 Mon Sep 17 00:00:00 2001 From: Chris Redford Date: Mon, 17 Apr 2017 14:50:31 -0700 Subject: [PATCH] pure functions --- jet.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jet.go b/jet.go index 8e49ff0..a948525 100644 --- a/jet.go +++ b/jet.go @@ -3,10 +3,6 @@ package chart import "github.com/wcharczuk/go-chart/drawing" // Jet is a color map provider based on matlab's jet color map. -func JetByY(xr, yr Range, x, y float64) drawing.Color { - return Jet(y, yr.GetMin(), yr.GetMax()) -} - func Jet(v, vmin, vmax float64) drawing.Color { c := drawing.Color{R: 0xff, G: 0xff, B: 0xff, A: 0xff} // white var dv float64