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

Function compareBBoxes

test/jasmine/assets/domain_ref_components.js:453–458  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

451}
452
453function compareBBoxes(a, b) {
454 return ['x', 'y', 'width', 'height'].map(
455 function(k) { return coordsEq(a[k], b[k]); }).reduce(
456 function(l, r) { return l && r; },
457 true);
458}
459
460function findAROByColor(color, id, type, colorAttribute) {
461 id = (id === undefined) ? '' : id + ' ';

Callers 2

imageTestFunction · 0.85
checkAROPositionFunction · 0.85

Calls 1

coordsEqFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…