# Scattergl subplot rescaling

**URL:** https://community.plotly.com/t/scattergl-subplot-rescaling/63018
**Category:** 📊 Plotly Python
**Created:** [April 13, 2022, 2:22pm UTC](https://community.plotly.com/t/scattergl-subplot-rescaling/63018 "2022-04-13T14:22:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![linus94](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@linus94](https://community.plotly.com/u/linus94)
#### Post date: [April 13, 2022, 2:22pm UTC](https://community.plotly.com/t/scattergl-subplot-rescaling/63018/1 "2022-04-13T14:22:21Z")

</div>

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:

 ![grafik](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/4/3/434b3f82344616ee0a92145b2523a09d860cc82f.png)
