summaryrefslogtreecommitdiffstats
path: root/cmd/jp/hist2d.go
diff options
context:
space:
mode:
authorSergey Grebenshchikov <sgreben@gmail.com>2018-03-30 22:56:37 +0200
committerSergey Grebenshchikov <sgreben@gmail.com>2018-03-30 22:57:11 +0200
commitd8f478e6cf5d4246ad58512769faa2a89267f06e (patch)
tree9f367001c0ad6da0a60c3398bb06418f0e5a7acc /cmd/jp/hist2d.go
parent152033fc63285a05e9c7a407718d6ebc1896fe64 (diff)
Accept x/y pair slices, interleave results of union-selection.1.1.9
Diffstat (limited to 'cmd/jp/hist2d.go')
-rw-r--r--cmd/jp/hist2d.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/jp/hist2d.go b/cmd/jp/hist2d.go
index 1af6a69..d80af59 100644
--- a/cmd/jp/hist2d.go
+++ b/cmd/jp/hist2d.go
@@ -9,7 +9,7 @@ import (
"github.com/sgreben/jp/pkg/plot"
)
-func hist2DData(xv []reflect.Value, yv []reflect.Value, nbins uint) (heatmap *data.Heatmap) {
+func hist2DData(xv, yv []reflect.Value, nbins uint) (heatmap *data.Heatmap) {
var x, y []float64
for i := range xv {
if xv[i].IsValid() && xv[i].CanInterface() {