Open
Description
The updatemenu
method update
is broken. It only updates the layout attributes. If you use the same code but change the method to restyle
, it updates the data attributes as expected, but obviously this won't work if you want to update both data and layout attributes.
Recreate
This is present for both the custom button and custom dropdown examples on the plotly examples page. You can see the problem by interacting with the examples.
Versions
I have this behavior on plotly 5.5. My friend has this problem in version 4.14. The behavior is the same in my versions of Chrome, Firefox, Edge, and VS Code's Jupyter interface.
Edit: I updated the title after getting some more info.