MCPcopy Index your code
hub / github.com/gonum/plot / Y

Method Y

plotter/contour_test.go:36–42  ·  view source on GitHub ↗
(r int)

Source from the content-addressed store, hash-verified

34 return float64(c)
35}
36func (g unitGrid) Y(r int) float64 {
37 m, _ := g.Matrix.Dims()
38 if r < 0 || r >= m {
39 panic("index out of range")
40 }
41 return float64(r)
42}
43
44func TestHeatMapWithContour(t *testing.T) {
45 if !*visualDebug {

Callers

nothing calls this directly

Calls 1

DimsMethod · 0.65

Tested by

no test coverage detected