Can you set the height and width of the plot face, not just the overall figure?

I am trying to make plots that have identical scaling so that someone can download the plot and have them line up on top of one another. I have tried setting the figure dimensions to be constant but different legend sizes always causes the axes to be ever so slightly different.

Does anyone have advice or suggestions?

I have also thought to plot the legend separately but have not found a way to do this either. I know with matplotlib you are able to make a legend object manually but, again, cannot find it in the Plotly documentation.

Hello konnorve. Welcome to the communtity.

In order that you get a answer i will recommend you read the excellent guide written by adamschroederPlotly Team

https://community.plotly.com/t/how-to-get-your-questions-answered-on-the-plotly-forum/40551

1 Like