Skip to content

Commit b572b87

Browse files
author
Andrew Blomenberg
committed
Fixed bug caused by emptying the modebar div without resetting the modebar state
1 parent 86f5e2d commit b572b87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plot_api/plot_api.js

+1
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,7 @@ function makePlotFramework(gd) {
37493749
.classed('main-svg', true);
37503750

37513751
fullLayout._modebardiv = fullLayout._paperdiv.append('div');
3752+
delete fullLayout._modeBar;
37523753

37533754
fullLayout._hoverpaper = fullLayout._paperdiv.append('svg')
37543755
.classed('main-svg', true);

0 commit comments

Comments
 (0)