I have a dash application where some plots depend on simple events, such as a dropdown/slider selection.
Some of the plots have the autosize attribute on their layout set to True, in their respective callback function, to fill all the available size, when they are created and updated.
However, when I open the app, and before interacting with anything, some of the plots width is smaller then the available space. When some sort of event happens, like clicking on the dropdown/slider, Their size updates and they do fill all the available space.
It seems that plotly successfully constructs the plot with the information given in the callback function but does not “detect” the autosize propriety before some event happens.
Is is it possible to set the autosize attribute to True as a default option? Because it apparently is not…