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

Function assertVisible

test/jasmine/tests/legend_test.js:1856–1861  ·  view source on GitHub ↗
(gd, expectation)

Source from the content-addressed store, hash-verified

1854 }
1855
1856 function assertVisible(gd, expectation) {
1857 var actual = gd._fullData.map(function (trace) {
1858 return trace.visible;
1859 });
1860 expect(actual).toEqual(expectation);
1861 }
1862
1863 it('should ignore carpet traces when toggling', function (done) {
1864 var _mock = Lib.extendDeep({}, require('../../image/mocks/cheater.json'));

Callers 1

legend_test.jsFile · 0.70

Calls 1

extractVisibilitiesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…