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

Function clearOutline

src/components/shapes/handle_outline.js:10–20  ·  view source on GitHub ↗
(gd)

Source from the content-addressed store, hash-verified

8}
9
10function clearOutline(gd) {
11 var zoomLayer = gd._fullLayout._zoomlayer;
12 if(zoomLayer) {
13 // until we get around to persistent selections, remove the outline
14 // here. The selection itself will be removed when the plot redraws
15 // at the end.
16 zoomLayer.selectAll('.select-outline').remove();
17 }
18
19 gd._fullLayout._outlining = false;
20}
21
22module.exports = {
23 clearOutlineControllers: clearOutlineControllers,

Callers 11

coerceSelectionsCacheFunction · 0.85
newselections.jsFile · 0.85
newShapesFunction · 0.85
plots.jsFile · 0.85
mapbox.jsFile · 0.85
clearAndResetSelectFunction · 0.85
map.jsFile · 0.85
geo.jsFile · 0.85
ternary.jsFile · 0.85
zoomPrepFunction · 0.85
polar.jsFile · 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…