MCPcopy Index your code
hub / github.com/plotly/plotly.js / removeBADNUM

Function removeBADNUM

src/traces/scattergeo/plot.js:20–24  ·  view source on GitHub ↗
(d, node)

Source from the content-addressed store, hash-verified

18 var gTraces = Lib.makeTraceGroups(scatterLayer, calcData, 'trace scattergeo');
19
20 function removeBADNUM(d, node) {
21 if(d.lonlat[0] === BADNUM) {
22 d3.select(node).remove();
23 }
24 }
25
26 // TODO find a way to order the inner nodes on update
27 gTraces.selectAll('*').remove();

Callers 1

plotFunction · 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…