MCPcopy
hub / github.com/plotly/plotly.js / calcPositions

Function calcPositions

test/jasmine/tests/histogram_test.js:849–851  ·  view source on GitHub ↗
(opts, extraTraces, prepend)

Source from the content-addressed store, hash-verified

847 });
848
849 function calcPositions(opts, extraTraces, prepend) {
850 return _calc(opts, extraTraces, {}, prepend).map(function(v) { return v.p; });
851 }
852
853 it('harmonizes autobins when all traces are autobinned', function() {
854 var trace1 = {x: [1, 2, 3, 4]};

Callers 1

histogram_test.jsFile · 0.85

Calls 1

_calcFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…