Skip to content

Commit e14013b

Browse files
committed
make supplyTraceDefaults work again with splom
1 parent 9162265 commit e14013b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/plots.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,9 @@ plots.supplyTraceDefaults = function(traceIn, colorIndex, layout, traceInIndex)
10951095
if(_module) {
10961096
var basePlotModule = _module.basePlotModule;
10971097
var subplotAttr = basePlotModule.attr;
1098-
if(subplotAttr) {
1098+
var subplotAttrs = basePlotModule.attributes;
1099+
if(subplotAttr && subplotAttrs) {
10991100
var subplots = layout._subplots;
1100-
var subplotAttrs = basePlotModule.attributes;
11011101
var subplotId = '';
11021102

11031103
// TODO - currently if we draw an empty gl2d subplot, it draws

0 commit comments

Comments
 (0)