# Plotly Python: Padding facet\_row & facet\_col

**URL:** <https://community.plotly.com/t/plotly-python-padding-facet-row-facet-col/41844>\
**Category:** 📊 Plotly Python\
**Created:** [July 1, 2020, 11:19am UTC](https://community.plotly.com/t/plotly-python-padding-facet-row-facet-col/41844 "2020-07-01T11:19:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LZS](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@LZS](https://community.plotly.com/u/LZS)\
**Post date:** [July 1, 2020, 11:19am UTC](https://community.plotly.com/t/plotly-python-padding-facet-row-facet-col/41844/1 "2020-07-01T11:19:42Z")

</div>

When I use facet\_row or facet\_col for a large number of facets, I have to increase the size of the plot to make my “subplots” readable. That’s fine, but the padding increases equally in size. When I have a facet\_col of 31 facets (days of the month) and a facet\_row of 24 (months of the year for 2 years), the space between them is as big as the plots itself. This is an enormous waste of space on my screen. Is there a way to adjust the padding? It would be really nice if there was an option in fig.update\_layout that would say paddingWidth and paddingHeight, but I can’t find it.

---

<div class="post-metadata">

**Author:** ![nicolaskruchten](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nicolaskruchten/32/7018_2.png) [@nicolaskruchten](https://community.plotly.com/u/nicolaskruchten)\
**Post date:** [July 16, 2020, 1:47pm UTC](https://community.plotly.com/t/plotly-python-padding-facet-row-facet-col/41844/2 "2020-07-16T13:47:33Z")

</div>

We now have new `facet_col_spacing` and `facet_row_spacing` as of version 4.9! [https://plotly.com/python/facet-plots/#controlling-facet-spacing](https://plotly.com/python/facet-plots/#controlling-facet-spacing)
