MCPcopy
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

resetFunction · 0.80

Calls 1

redrawMethod · 0.95

Tested by

no test coverage detected