Skip to content

Using restyle method in updatemenus button removes the modebar #4974

Closed
@HunterMcGushion

Description

@HunterMcGushion

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.
Screen Shot 2020-06-30 at 2 12 29 PM

However, after clicking the "Heatmap" button, the modebar no longer appears.
Screen Shot 2020-06-30 at 2 13 19 PM

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions