SetSlice sets the table to a [table.NewSliceTable] from the given slice.
(sl any)
| 151 | // SetSlice sets the table to a [table.NewSliceTable] |
| 152 | // from the given slice. |
| 153 | func (pl *PlotEditor) SetSlice(sl any) *PlotEditor { |
| 154 | return pl.SetTable(errors.Log1(table.NewSliceTable(sl))) |
| 155 | } |
| 156 | |
| 157 | // ColumnOptions returns the current column options by name |
| 158 | // (to access by index, just use Columns directly). |