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

Function subplotSelected

src/components/selections/select.js:1301–1312  ·  view source on GitHub ↗
(xRef, yRef, searchTraces)

Source from the content-addressed store, hash-verified

1299}
1300
1301function subplotSelected(xRef, yRef, searchTraces) {
1302 for(var i = 0; i < searchTraces.length; i++) {
1303 var s = searchTraces[i];
1304 if(
1305 (s.xaxis && s.xaxis._id === xRef) &&
1306 (s.yaxis && s.yaxis._id === yRef)
1307 ) {
1308 return true;
1309 }
1310 }
1311 return false;
1312}
1313
1314function deselectSubplot(gd, xRef, yRef, searchTraces) {
1315 searchTraces = determineSearchTraces(

Callers 1

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