Skip to content

Commit b22f62b

Browse files
committed
._fullInput.index > .index
1 parent 89e2321 commit b22f62b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/plot_api/template_api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ exports.validateTemplate = function(figureIn, template) {
347347
// the template
348348
errorList.push({
349349
code: 'missing',
350-
index: fullTrace._fullInput.index,
350+
index: fullTrace.index,
351351
traceType: traceType
352352
});
353353
}

src/traces/parcoords/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var exports = module.exports = function plot(gd, cdModule) {
4040
cdModule.forEach(function(d, i) {
4141
var trace = d[0].trace;
4242
fullIndices[i] = trace.index;
43-
var iIn = inputIndices[i] = trace._fullInput.index;
43+
var iIn = inputIndices[i] = trace.index;
4444
currentDims[i] = gd.data[iIn].dimensions;
4545
initialDims[i] = gd.data[iIn].dimensions.slice();
4646
});

test/jasmine/tests/plot_api_react_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ describe('Plotly.react and uirevision attributes', function() {
11491149
dataKeys.forEach(function(traceKeys, i) {
11501150
var trace = gd.data[i];
11511151
var fullTrace = gd._fullData.filter(function(ft) {
1152-
return ft._fullInput.index === i;
1152+
return ft.index === i;
11531153
})[0]._fullInput;
11541154

11551155
for(var key in traceKeys) {

0 commit comments

Comments
 (0)