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

Function labelsOf

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

Source from the content-addressed store, hash-verified

101}
102
103func labelsOf(ticks []Tick) []string {
104 var labels []string
105 for _, t := range ticks {
106 if t.Label != "" {
107 labels = append(labels, t.Label)
108 }
109 }
110 return labels
111}
112
113func TestTickerFunc_Ticks(t *testing.T) {
114 type args struct {

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…