I’m using plotly for short time. I have created a countourplot inside a webpage and it is working very well.
I did want to integrate the graph inside a menu. For this I did use
to show and hide the graph. If I do activate none, the graph can be seen. Also the data is there because I see the right numbers by hovering my mouse. However: The density graphical data is gone.
I did try to do a redraw, but without success.
The only way, which seems to work is saving the layout and data and doing a newplot. Then the data is displayed again.
This solution is really stupid, so: Do you have a better solution?