MCPcopy Create free account
hub / github.com/plotly/plotly.js / minFn

Function minFn

src/plots/polar/helpers.js:199–202  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

197 */
198function findEnclosingVertexAngles(a, vangles) {
199 var minFn = function(v) {
200 var adelta = angleDelta(v, a);
201 return adelta > 0 ? adelta : Infinity;
202 };
203 var i0 = findIndexOfMin(vangles, minFn);
204 var i1 = Lib.mod(i0 + 1, vangles.length);
205 return [vangles[i0], vangles[i1]];

Callers

nothing calls this directly

Calls 1

angleDeltaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…