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

Function assertVisibleShapes

test/jasmine/tests/legend_test.js:2159–2164  ·  view source on GitHub ↗
(expectation)

Source from the content-addressed store, hash-verified

2157 }
2158
2159 function assertVisibleShapes(expectation) {
2160 return function () {
2161 var actual = extractVisibilities(gd._fullLayout.shapes);
2162 expect(actual).toEqual(expectation);
2163 };
2164 }
2165
2166 describe('for regular traces', function () {
2167 beforeEach(function (done) {

Callers 1

legend_test.jsFile · 0.85

Calls 1

extractVisibilitiesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…