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

Function valuesOf

axis_test.go:93–101  ·  view source on GitHub ↗
(ticks []Tick)

Source from the content-addressed store, hash-verified

91}
92
93func valuesOf(ticks []Tick) []float64 {
94 var values []float64
95 for _, t := range ticks {
96 if t.Label != "" {
97 values = append(values, t.Value)
98 }
99 }
100 return values
101}
102
103func labelsOf(ticks []Tick) []string {
104 var labels []string

Callers 1

TestAxisSmallTickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…