I’m running into an issue where plots always load at a height of 450px, no matter the size of the div. I don’t have any problem using Plotly.resize()
within window.addEventListener('resize', function() {}
, but can’t seem to get the plot height to adjust without a window resize.
The attached image shows the actual div height and chart height when loading in a narrow screen. The same thing happens at wider screens where the div is larger than 450px.
Is there any reason the plot would respect container width, but not height? Is this a bug or something I can adjust?