Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/plotly/plotly.js
/ binsToCalc
Function
binsToCalc
src/traces/histogram2d/calc.js:188–194 ·
view source on GitHub ↗
(r2c, bins)
Source
from the content-addressed store, hash-verified
186
}
187
188
function
binsToCalc(r2c, bins) {
189
return
{
190
start: r2c(bins.start),
191
end: r2c(bins.end),
192
size: bins.size
193
};
194
}
195
196
function
getRanges(edges, uniqueVals, gapLow, gapHigh, ax, calendar) {
197
var
i;
Callers
1
calc.js
File · 0.85
Calls
1
r2c
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…