I am using plotly.js to create plots in reactjs. But when i export it as png resolution is very less. I researched, but what i came to know is use plotly.toImage(). But in reactjs i am using “plot” instead of plotly.newPlot(). Can you help how can i include image height,width in “plot”?
I tried to find something about this topic for like an hour. Once I found it how to make the downloaded figures formatted the same as the current viewport, but I cannot find it anymore. Would be nice if the documentations would be updated.