Open juanmah opened 4 years ago
+1 I am able to reproduce this error in plotly 5.5.0, using renderer "browser".
Before moving animation slider:
After moving:
Looking at fig.frames
, I can see that all the marginal plots exist in the Figure
object (5 * 24 = 120 box plots, and 120 histograms:
So this maybe an issue with the renderer. Indeed, when I check the javascript console, there are some warnings logged which may provide a hint:
The first two were logged upon moving the slider, and the next two were logged upon the resize event which triggered when I opened the console. Serendipitously, the resize also caused the missing marginal plots to reappear.
I'm not too sure if this issue should be reported to the plotly.js repo instead, as I don't have a deep enough understanding of plotly to tell if the problem lies in rendering or in plotly-express generating a graph object which violates some known expectations.
I have a plotly express graph with marginal subplots and animation frame:
It is displayed well:
When I play the animation or I change the frame, the subplots disappear:
If I double click on the subplots, they reappear. When I export the image, the subplots are drawed.
You can see this behaviour in: https://www.kaggle.com/juanmah/ashrae-degree-hours
Plot.ly version : '4.2.1'