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

Method OpenFS

plot/plotcore/ploteditor.go:237–241  ·  view source on GitHub ↗

OpenFS opens the Table data from a csv (comma-separated values) file (or any delim) from the given filesystem.

(fsys fs.FS, filename core.Filename, delim table.Delims)

Source from the content-addressed store, hash-verified

235// OpenFS opens the Table data from a csv (comma-separated values) file (or any delim)
236// from the given filesystem.
237func (pl *PlotEditor) OpenFS(fsys fs.FS, filename core.Filename, delim table.Delims) {
238 pl.table.Table.OpenFS(fsys, string(filename), delim)
239 pl.dataFile = filename
240 pl.UpdatePlot()
241}
242
243// yLabel returns the Y-axis label
244func (pl *PlotEditor) yLabel() string {

Callers

nothing calls this directly

Calls 1

UpdatePlotMethod · 0.95

Tested by

no test coverage detected