File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 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
@@ -67,7 +62,7 @@ function drag(gd) {
67
62
}
68
63
69
64
if ( fullLayout . _hasOnlyLargeSploms ) {
70
- fullLayout . _modules [ 0 ] . basePlotModule . drawGrid ( gd ) ;
65
+ drawGrid ( gd ) ;
71
66
}
72
67
}
73
68
@@ -228,7 +223,7 @@ module.exports = {
228
223
drawFramework : Cartesian . drawFramework ,
229
224
plot : plot ,
230
225
drag : drag ,
231
- drawGrid : drawGrid ,
232
226
clean : clean ,
227
+ updateFx : Cartesian . updateFx ,
233
228
toSVG : Cartesian . toSVG
234
229
} ;
You can’t perform that action at this time.
0 commit comments