Skip to content

Function: addEmbedding() ​

ts
function addEmbedding(plot, opts): EmbeddingHandle;

Defined in: ml/charts.ts:183

Embedding scatter — one colored series per class when labels are given (a legend-ready projector), a single colormap series for a continuous colorBy, or a plain scatter otherwise. Use pick: "xy" on the Plot for hover.

Parameters ​

ParameterType
plotPlot
optsEmbeddingOptions

Returns ​

EmbeddingHandle

MIT licensed. WebGL2 required.