Skip to content

Commit 0ba34c3

Browse files
committed
only used cartesian trace module in subplot loop
1 parent 05d8b1c commit 0ba34c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plot_api/plot_api.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ Plotly.plot = function(gd, data, layout, config) {
329329
for(j = 0; j < modules.length; j++) {
330330
_module = modules[j];
331331

332+
if(_module.basePlotModule.name !== 'cartesian') continue;
333+
332334
if(!_module.plot && (_module.name === 'pie')) continue;
333335

334336
// plot all traces of this type on this subplot at once

0 commit comments

Comments
 (0)