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

Function deactivateSelection

src/components/selections/draw.js:182–191  ·  view source on GitHub ↗
(gd)

Source from the content-addressed store, hash-verified

180}
181
182function deactivateSelection(gd) {
183 if(!couldHaveActiveSelection(gd)) return;
184
185 var id = gd._fullLayout._activeSelectionIndex;
186 if(id >= 0) {
187 clearOutlineControllers(gd);
188 delete gd._fullLayout._activeSelectionIndex;
189 draw(gd);
190 }
191}

Callers 1

activateSelectionFunction · 0.85

Calls 3

couldHaveActiveSelectionFunction · 0.85
clearOutlineControllersFunction · 0.85
drawFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…