MCPcopy Create free account
hub / github.com/cogentcore/core / defaults

Method defaults

plot/plotcore/options.go:216–220  ·  view source on GitHub ↗

defaults sets defaults if unset values are present.

()

Source from the content-addressed store, hash-verified

214
215// defaults sets defaults if unset values are present.
216func (co *ColumnOptions) defaults() {
217 if co.NTicks == 0 {
218 co.NTicks = 10
219 }
220}
221
222// getLabel returns the effective label of the column.
223func (co *ColumnOptions) getLabel() string {

Callers 1

columnsListUpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected