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

Function slicer

src/traces/table/data_preparation_helper.js:12–14  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

10module.exports = function calc(gd, trace) {
11 var cellsValues = squareStringMatrix(trace.cells.values);
12 var slicer = function(a) {
13 return a.slice(trace.header.values.length, a.length);
14 };
15 var headerValuesIn = squareStringMatrix(trace.header.values);
16 if(headerValuesIn.length && !headerValuesIn[0].length) {
17 headerValuesIn[0] = [''];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…