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

Function deactivateClipPathTemporarily

src/components/shapes/draw.js:690–701  ·  view source on GitHub ↗
(shapePath, shapeOptions, gd)

Source from the content-addressed store, hash-verified

688 }
689
690 function deactivateClipPathTemporarily(shapePath, shapeOptions, gd) {
691 var xref = shapeOptions.xref;
692 var yref = shapeOptions.yref;
693 var xa = Axes.getFromId(gd, xref);
694 var ya = Axes.getFromId(gd, yref);
695
696 var clipAxes = '';
697 if (xref !== 'paper' && !xa.autorange) clipAxes += xref;
698 if (yref !== 'paper' && !ya.autorange) clipAxes += yref;
699
700 Drawing.setClipUrl(shapePath, clipAxes ? 'clip' + gd._fullLayout._uid + clipAxes : null, gd);
701 }
702}
703
704function movePath(pathIn, moveX, moveY) {

Callers 1

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