Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/plotly/plotly.js
/ almostEq
Function
almostEq
src/components/shapes/draw_newshape/helpers.js:211–213 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
209
};
210
211
function
almostEq(a, b) {
212
return
Math.abs(a - b) <= 1e-6;
213
}
214
215
function
dist(a, b) {
216
var
dx = b[1] - a[1];
Callers
1
helpers.js
File · 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…