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

Method Len

plot/plots/table.go:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (dt *TableXYer) Len() int {
48 return dt.Table.NumRows()
49}
50
51func (dt *TableXYer) XY(i int) (x, y float32) {
52 return dt.Table.PlotData(dt.XColumn, i), dt.Table.PlotData(dt.YColumn, i)

Callers

nothing calls this directly

Calls 1

NumRowsMethod · 0.65

Tested by

no test coverage detected