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

Method drawTicks

axis.go:225–227  ·  view source on GitHub ↗

drawTicks returns true if the tick marks should be drawn.

()

Source from the content-addressed store, hash-verified

223
224// drawTicks returns true if the tick marks should be drawn.
225func (a Axis) drawTicks() bool {
226 return a.Tick.Width > 0 && a.Tick.Length > 0
227}
228
229// A horizontalAxis draws horizontally across the bottom
230// of a plot.

Callers 4

sizeMethod · 0.80
drawMethod · 0.80
sizeMethod · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected