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

Method OpenCSV

plot/plotcore/ploteditor.go:229–233  ·  view source on GitHub ↗

OpenCSV opens the Table data from a csv (comma-separated values) file (or any delim)

(filename core.Filename, delim table.Delims)

Source from the content-addressed store, hash-verified

227
228// OpenCSV opens the Table data from a csv (comma-separated values) file (or any delim)
229func (pl *PlotEditor) OpenCSV(filename core.Filename, delim table.Delims) { //types:add
230 pl.table.Table.OpenCSV(filename, delim)
231 pl.dataFile = filename
232 pl.UpdatePlot()
233}
234
235// OpenFS opens the Table data from a csv (comma-separated values) file (or any delim)
236// from the given filesystem.

Callers

nothing calls this directly

Calls 1

UpdatePlotMethod · 0.95

Tested by

no test coverage detected