MCPcopy Create free account
hub / github.com/plotly/plotly.js / dropZonBreaks

Function dropZonBreaks

src/traces/heatmap/calc.js:180–194  ·  view source on GitHub ↗
(x, y, z)

Source from the content-addressed store, hash-verified

178}
179
180function dropZonBreaks(x, y, z) {
181 var newZ = [];
182 var k = -1;
183 for(var i = 0; i < z.length; i++) {
184 if(y[i] === BADNUM) continue;
185 k++;
186 newZ[k] = [];
187 for(var j = 0; j < z[i].length; j++) {
188 if(x[j] === BADNUM) continue;
189
190 newZ[k].push(z[i][j]);
191 }
192 }
193 return newZ;
194}

Callers 1

calc.jsFile · 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…