Skip to content

Commit 64ce076

Browse files
committed
don't call Pie.plot in subplot loop:
- this didn't cause any errors, but is unnecessary.
1 parent d885974 commit 64ce076

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plot_api/plot_api.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ Plotly.plot = function(gd, data, layout, config) {
312312

313313
for(j = 0; j < modules.length; j++) {
314314
_module = modules[j];
315-
if(!_module.plot) continue;
315+
316+
if(!_module.plot && (_module.name === 'pie')) continue;
316317

317318
// plot all traces of this type on this subplot at once
318319
cdModule = getCdModule(cdSubplot, _module);

0 commit comments

Comments
 (0)