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

Function deselectSubplot

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

Source from the content-addressed store, hash-verified

1312}
1313
1314function deselectSubplot(gd, xRef, yRef, searchTraces) {
1315 searchTraces = determineSearchTraces(
1316 gd,
1317 [getFromId(gd, xRef, 'x')],
1318 [getFromId(gd, yRef, 'y')],
1319 xRef + yRef
1320 );
1321
1322 for(var k = 0; k < searchTraces.length; k++) {
1323 var searchInfo = searchTraces[k];
1324 searchInfo._module.selectPoints(searchInfo, false);
1325 }
1326
1327 updateSelectedState(gd, searchTraces);
1328}
1329
1330function addTester(layoutPolygons, xRef, yRef, selectionTesters) {
1331 var mergedPolygons;

Callers 2

prepSelectFunction · 0.85
reselectFunction · 0.85

Calls 2

determineSearchTracesFunction · 0.85
updateSelectedStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…