From 281a38e6b476eab81a54dc0abd16473d0dec4f5c Mon Sep 17 00:00:00 2001 From: substack Date: Thu, 20 Oct 2016 21:10:40 -0400 Subject: [PATCH] second alpha index should be 1, not 0 --- colorScales.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorScales.js b/colorScales.js index 47d7aa5..bb8645d 100644 --- a/colorScales.js +++ b/colorScales.js @@ -43,7 +43,7 @@ module.exports={ "electric":[{"index":0,"rgb":[0,0,0]},{"index":0.15,"rgb":[30,0,100]},{"index":0.4,"rgb":[120,0,100]},{"index":0.6,"rgb":[160,90,0]},{"index":0.8,"rgb":[230,200,0]},{"index":1,"rgb":[255,250,220]}], - "alpha": [{"index":0, "rgb": [255,255,255,0]},{"index":0, "rgb": [255,255,255,1]}], + "alpha": [{"index":0, "rgb": [255,255,255,0]},{"index":1, "rgb": [255,255,255,1]}], "viridis": [{"index":0,"rgb":[68,1,84]},{"index":0.13,"rgb":[71,44,122]},{"index":0.25,"rgb":[59,81,139]},{"index":0.38,"rgb":[44,113,142]},{"index":0.5,"rgb":[33,144,141]},{"index":0.63,"rgb":[39,173,129]},{"index":0.75,"rgb":[92,200,99]},{"index":0.88,"rgb":[170,220,50]},{"index":1,"rgb":[253,231,37]}],