File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2796,6 +2796,7 @@ function makePlotFramework(gd) {
2796
2796
// right, rather than enter/exit which can muck up the order
2797
2797
// TODO: sort out all the ordering so we don't have to
2798
2798
// explicitly delete anything
2799
+ // FIXME: parcoords reuses this object, not the best pattern
2799
2800
fullLayout . _glcontainer = fullLayout . _paperdiv . selectAll ( '.gl-container' )
2800
2801
. data ( [ { } ] ) ;
2801
2802
fullLayout . _glcontainer . enter ( ) . append ( 'div' )
Original file line number Diff line number Diff line change @@ -1332,7 +1332,7 @@ plots.purge = function(gd) {
1332
1332
1333
1333
var fullLayout = gd . _fullLayout || { } ;
1334
1334
if ( fullLayout . _glcontainer !== undefined ) {
1335
- fullLayout . _glcontainer . selectAll ( '.gl-canvas' ) . data ( [ ] ) . exit ( ) . remove ( ) ;
1335
+ fullLayout . _glcontainer . selectAll ( '.gl-canvas' ) . remove ( ) ;
1336
1336
fullLayout . _glcontainer . remove ( ) ;
1337
1337
fullLayout . _glcanvas = null ;
1338
1338
}
You can’t perform that action at this time.
0 commit comments