We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4248c00 commit 42c96efCopy full SHA for 42c96ef
src/plots/plots.js
@@ -682,6 +682,9 @@ plots.purge = function(gd) {
682
if(fullLayout._glcontainer !== undefined) fullLayout._glcontainer.remove();
683
if(fullLayout._geocontainer !== undefined) fullLayout._geocontainer.remove();
684
685
+ // remove modebar
686
+ if(fullLayout._modeBar) fullLayout._modeBar.destroy();
687
+
688
// data and layout
689
delete gd.data;
690
delete gd.layout;
0 commit comments