We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 082bfc1 commit 5809137Copy full SHA for 5809137
src/traces/scattercarpet/calc.js
@@ -12,10 +12,10 @@
12
var isNumeric = require('fast-isnumeric');
13
14
var Axes = require('../../plots/cartesian/axes');
15
-var Lib = require('../../lib');
16
17
var subTypes = require('../scatter/subtypes');
18
var calcColorscale = require('../scatter/colorscale_calc');
+var arraysToCalcdata = require('../scatter/arrays_to_calcdata');
19
var lookupCarpet = require('../carpet/lookup_carpetid');
20
21
module.exports = function calc(gd, trace) {
@@ -68,8 +68,7 @@ module.exports = function calc(gd, trace) {
68
69
calcColorscale(trace);
70
71
- // this has migrated up from arraysToCalcdata as we have a reference to 's' here
72
- if(typeof s !== 'undefined') Lib.mergeArray(s, cd, 'ms');
+ arraysToCalcdata(cd, trace);
73
74
return cd;
75
};
0 commit comments