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

Function getIndices

test/jasmine/tests/carpet_test.js:609–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

607
608 it('preserves order of carpets on the same subplot after hide/show', function(done) {
609 function getIndices() {
610 var out = [];
611 d3SelectAll('.carpetlayer .trace').each(function(d) { out.push(d[0].trace.index); });
612 return out;
613 }
614
615 Plotly.newPlot(gd, [{
616 type: 'carpet',

Callers 1

carpet_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…