Hey all,
I’ve been having this problem recently: I have a plot that shows without problem if I don’t mess with style. But if I set the div’s in which the plot is inside’s style to {'display': 'none'}
and then change it to block or inline inside a callback, I’m getting a fixed 100px plot:
I tried changing height in the plot’s layout and the div’s height in the callback, but I’m getting the same result anyways. What am I missing? is this expected?
I can share a reproducible example if needed. Thanks !
Edit: After explicitly adding the height in dcc.Graph
's style I managed to make the plots show properly. Is this the recommended way?