diff options
author | Sergey Grebenshchikov <sgreben@gmail.com> | 2018-03-30 22:56:37 +0200 |
---|---|---|
committer | Sergey Grebenshchikov <sgreben@gmail.com> | 2018-03-30 22:57:11 +0200 |
commit | d8f478e6cf5d4246ad58512769faa2a89267f06e (patch) | |
tree | 9f367001c0ad6da0a60c3398bb06418f0e5a7acc /cmd/jp/hist2d.go | |
parent | 152033fc63285a05e9c7a407718d6ebc1896fe64 (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.go | 2 |
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() { |