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

Function checkVisible

test/jasmine/tests/annotations_test.js:883–887  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

881 }
882
883 function checkVisible(opts) {
884 gd._fullLayout.annotations.forEach(function(ann, i) {
885 expect(ann.visible).toBe(opts.on.indexOf(i) !== -1, 'i: ' + i + ', step: ' + opts.step);
886 });
887 }
888
889 function allAnnotations(attr, value) {
890 var update = {};

Callers 2

clickAndCheckFunction · 0.70
updateAndCheckFunction · 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…