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

Function computeLowerFence

src/traces/box/calc.js:408–417  ·  view source on GitHub ↗
(cdi, boxVals, N)

Source from the content-addressed store, hash-verified

406
407// last point below 1.5 * IQR
408function computeLowerFence(cdi, boxVals, N) {
409 if(N === 0) return cdi.q1;
410 return Math.min(
411 cdi.q1,
412 boxVals[Math.min(
413 Lib.findBin(2.5 * cdi.q1 - 1.5 * cdi.q3, boxVals, true) + 1,
414 N - 1
415 )]
416 );
417}
418
419// last point above 1.5 * IQR
420function computeUpperFence(cdi, boxVals, N) {

Callers 1

calc.jsFile · 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…