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

Function nextHalfPoint

src/traces/histogram/calc.js:548–552  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

546 }
547
548 function nextHalfPoint(i) {
549 vi = size[i];
550 size[i] = prevSum + vi / 2;
551 prevSum += vi;
552 }
553
554 if(currentBin === 'half') {
555 if(direction === 'increasing') {

Callers 1

cdfFunction · 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…