MCPcopy
hub / github.com/plotly/plotly.js / coordsEq

Function coordsEq

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

Source from the content-addressed store, hash-verified

444}
445
446function coordsEq(a, b) {
447 if(a && b) {
448 return Math.abs(a - b) < EQUALITY_TOLERANCE;
449 }
450 return false;
451}
452
453function compareBBoxes(a, b) {
454 return ['x', 'y', 'width', 'height'].map(

Callers 2

annotationTestFunction · 0.85
compareBBoxesFunction · 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…