Skip to content

Commit 01fe3b2

Browse files
committed
delete all other _ properties in Plotly.purge
1 parent 92f4485 commit 01fe3b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,11 @@ Plotly.purge = function purge(gd) {
24182418
// remove plot container
24192419
if(fullLayout._container) fullLayout._container.remove();
24202420

2421-
// other stuff to delete ???
2421+
delete gd._context;
2422+
delete gd._replotPending;
2423+
delete gd._mouseDownTime;
2424+
delete gd._hmpixcount;
2425+
delete gd._hmlumcount;
24222426

24232427
return gd;
24242428
};

0 commit comments

Comments
 (0)