Closed
Description
This is very similar to #3824, and this bug was first reported in this comment by @sermeor, but I thought it made sense to open a new issue.
The issue can be reproduced on the Plotly website in the "Restyle Button Single Attribute" example.
On initial load, hovering over the plot brings up the modebar.
However, after clicking the "Heatmap" button, the modebar no longer appears.
The same thing happens when changing the trace type in other examples on this page.
This issue can also be reproduced in this Plotly Python example. Please let me know if I should open a separate issue on plotly.py.
Thank you for your time and for making Plotly so awesome!