Skip to content

Commit 302d1e6

Browse files
committed
update new getModuleCalcData callers to new API
1 parent c8b03ee commit 302d1e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/traces/pie/base_plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports.name = 'pie';
1515

1616
exports.plot = function(gd) {
1717
var Pie = Registry.getModule('pie');
18-
var cdPie = getModuleCalcData(gd.calcdata, Pie);
18+
var cdPie = getModuleCalcData(gd.calcdata, Pie)[0];
1919

2020
if(cdPie.length) Pie.plot(gd, cdPie);
2121
};

src/traces/splom/base_plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var SPLOM = 'splom';
2222
function plot(gd) {
2323
var fullLayout = gd._fullLayout;
2424
var _module = Registry.getModule(SPLOM);
25-
var splomCalcData = getModuleCalcData(gd.calcdata, _module);
25+
var splomCalcData = getModuleCalcData(gd.calcdata, _module)[0];
2626

2727
prepareRegl(gd, ['ANGLE_instanced_arrays', 'OES_element_index_uint']);
2828

0 commit comments

Comments
 (0)