From 079c471dafd5d87a1825f665a2f9ff507606183c Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Fri, 14 Apr 2017 17:46:53 -0700 Subject: [PATCH] updated example --- _examples/scatter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/scatter/main.go b/_examples/scatter/main.go index b267316..83650bb 100644 --- a/_examples/scatter/main.go +++ b/_examples/scatter/main.go @@ -17,7 +17,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) { Show: true, StrokeWidth: chart.Disabled, DotWidthProvider: func(rx, ry, x, y float64) float64 { return 10 * (y / ry) }, - DotColorProvider: chart.Vidris, + DotColorProvider: chart.Viridis, }, XValues: chart.Sequence.Random(128, 1024), YValues: chart.Sequence.Random(128, 1024),