plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Subplot Scaling

Open prolaser opened this issue 3 years ago • 2 comments

Hi guys

Im using plotly to create subplots (make_subplots), my problem is that these subplots scale when the number of rows differ. For example when when (row=2,col=1) my subplots have different size with when i do (row=4,col=1). Basically the more rows I have the smaller my plots get and I dont want this to happen. I want my plots to always have the same size no matter if I add more rows and plots. So far what I tried is fig.update_layout() which also doesnt help. Im not sure if this fiture exist in plotly or not. please guide me: 3 Rows 3rows

4 Rows 4rows

in this image zou can see when the number of rows increase the plots scale down in siye, I want them to always stay same size

prolaser avatar Jun 10 '21 10:06 prolaser

You'll need to update the height and width of your figure as you add rows and columns in order to get them to stay the same size.

nicolaskruchten avatar Jun 10 '21 13:06 nicolaskruchten

@nicolaskruchten could you provide a small reproducible example? I'm currently dealing with a similar situation.

rrazaghi avatar Jun 29 '22 02:06 rrazaghi