how to i resize plotly chart with specific height and width.
Below code will take the height and width automatically based on window height and width.
window.onresize = function() {
Plotly.Plots.resize(myDiv);
};
But i have the same functionality during the button click. It should take the parent div height and width. when ever the parent div height and width changes.