Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tensorflow/playground
/ reset
Method
reset
src/linechart.ts:75–80 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
73
}
74
75
reset() {
76
this.data = [];
77
this.redraw();
78
this.minY = Number.MAX_VALUE;
79
this.maxY = Number.MIN_VALUE;
80
}
81
82
addDataPoint(dataPoint: number[]) {
83
if
(dataPoint.length !== this.numLines) {
Callers
1
reset
Function · 0.80
Calls
1
redraw
Method · 0.95
Tested by
no test coverage detected