Scattergl subplot rescaling

Hi there,
I am trying to create a large subplot with multiple scattergl traces.
When I rescale the plot with:

plot.update_layout(margin={"t": 25}, showlegend=False, height=300 * number_plots)

My traces get completly distorted: