Plot sizing problems


#21

I was able to get plotly to correctly size the graph by setting the height of the parent divs (div.js-plotly-plot and div.plot-container) that plotly wraps div.svg-container with.


#22

Hi Danvallentyne,
Can you please post your code.


#23

I set the height of the containers via CSS.

.js-plotly-plot,
.plot-container {
          height: 44vh
}

#24

Why is it so complicate to resize a canvas? I mean, it should have a simple way/parameter to do that. I am totally beginner on using it and I have no idea how to make my element fit the space that I reserved for it…is quite frustrating.


#25