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

Function hasSubplot

src/components/selections/select.js:53–56  ·  view source on GitHub ↗
(dragOptions)

Source from the content-addressed store, hash-verified

51var getTransform = helpers.getTransform;
52
53function hasSubplot(dragOptions) {
54 // N.B. subplot may be falsy e.g zero sankey index!
55 return dragOptions.subplot !== undefined;
56}
57
58function prepSelect(evt, startX, startY, dragOptions, mode) {
59 var isCartesian = !hasSubplot(dragOptions);

Callers 3

prepSelectFunction · 0.85
clearSelectionsCacheFunction · 0.85
determineSearchTracesFunction · 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…