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

Function setClipPath

src/components/selections/draw.js:144–152  ·  view source on GitHub ↗
(selectionPath, gd, selectionOptions)

Source from the content-addressed store, hash-verified

142}
143
144function setClipPath(selectionPath, gd, selectionOptions) {
145 var clipAxes = selectionOptions.xref + selectionOptions.yref;
146
147 Drawing.setClipUrl(
148 selectionPath,
149 'clip' + gd._fullLayout._uid + clipAxes,
150 gd
151 );
152}
153
154
155function activateSelection(gd, path) {

Callers 1

drawSelectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…