MCPcopy
hub / github.com/tensorflow/tfjs / yDomain

Function yDomain

tfjs-vis/src/render/scatterplot.ts:89–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 };
88
89 const yDomain = (): {}|undefined => {
90 if (options.zoomToFit) {
91 return {'zero': false};
92 } else if (options.yAxisDomain != null) {
93 return {'domain': options.yAxisDomain};
94 }
95 return undefined;
96 };
97
98 const spec: VisualizationSpec = {
99 'width': options.width || getDefaultWidth(drawArea),

Callers 1

scatterplotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…