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

Function hasVisibleDepth

src/traces/treemap/plot_one.js:47–49  ·  view source on GitHub ↗
(pt)

Source from the content-addressed store, hash-verified

45
46 var maxDepth = helpers.getMaxDepth(trace);
47 var hasVisibleDepth = function(pt) {
48 return pt.data.depth - entry.data.depth < maxDepth;
49 };
50
51 var gs = fullLayout._size;
52 var domain = trace.domain;

Callers 1

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