Skip to content

Commit be2e6c9

Browse files
committed
use getModule instead hidden attr
1 parent 002557b commit be2e6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Plotly.plot = function(gd, data, layout, config) {
337337

338338
// now draw stuff not on subplots (ie, only pies at the moment)
339339
if(fullLayout._hasPie) {
340-
var Pie = Plots.modules.pie._module;
340+
var Pie = Plots.getModule('pie');
341341
var cdPie = getCdModule(calcdata, Pie);
342342

343343
if(cdPie.length) Pie.plot(gd, cdPie);

0 commit comments

Comments
 (0)