File tree 1 file changed +3
-8
lines changed 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,9 @@ function drag(gd) {
42
42
var trace = cd0 . trace ;
43
43
var scene = cd0 . t . _scene ;
44
44
45
- // FIXME: this probably should not be called for non-splom traces
46
- if ( ! scene || ! scene . matrixOptions ) continue ;
47
-
48
- var opts = scene . matrixOptions ;
49
-
50
45
if ( trace . type === 'splom' && scene && scene . matrix ) {
51
46
var activeLength = trace . _activeLength ;
52
- var visibleLength = opts . data . length ;
47
+ var visibleLength = scene . matrixOptions . data . length ;
53
48
var ranges = new Array ( visibleLength ) ;
54
49
var k = 0 ;
55
50
@@ -72,7 +67,7 @@ function drag(gd) {
72
67
}
73
68
74
69
if ( fullLayout . _hasOnlyLargeSploms ) {
75
- fullLayout . _modules [ 0 ] . basePlotModule . drawGrid ( gd ) ;
70
+ drawGrid ( gd ) ;
76
71
}
77
72
}
78
73
@@ -233,7 +228,7 @@ module.exports = {
233
228
drawFramework : Cartesian . drawFramework ,
234
229
plot : plot ,
235
230
drag : drag ,
236
- drawGrid : drawGrid ,
237
231
clean : clean ,
232
+ updateFx : Cartesian . updateFx ,
238
233
toSVG : Cartesian . toSVG
239
234
} ;
You can’t perform that action at this time.
0 commit comments