Skip to content

Commit c60fb1d

Browse files
committed
bring back scattergl marker colorscale
1 parent 9f57eff commit c60fb1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/traces/scattergl/calc.js

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
'use strict';
1111

1212
var Axes = require('../../plots/cartesian/axes');
13+
var calcColorscales = require('../scatter/colorscale_calc');
1314

1415
module.exports = function calc(gd, trace) {
1516
var xa = Axes.getFromId(gd, trace.xaxis || 'x'),
@@ -26,5 +27,7 @@ module.exports = function calc(gd, trace) {
2627
cd[i] = {x: x[i], y: y[i]};
2728
}
2829

30+
calcColorscales(trace);
31+
2932
return cd;
3033
};

0 commit comments

Comments
 (0)