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

Method DataRange

plot/plots/scatter.go:75–77  ·  view source on GitHub ↗

DataRange returns the minimum and maximum x and y values, implementing the plot.DataRanger interface.

()

Source from the content-addressed store, hash-verified

73// DataRange returns the minimum and maximum
74// x and y values, implementing the plot.DataRanger interface.
75func (pts *Scatter) DataRange() (xmin, xmax, ymin, ymax float32) {
76 return plot.XYRange(pts)
77}
78
79// Thumbnail the thumbnail for the Scatter,
80// implementing the plot.Thumbnailer interface.

Callers

nothing calls this directly

Calls 1

XYRangeFunction · 0.92

Tested by

no test coverage detected