# Graph spacing from yaxis inconsistent between graphs

**URL:** <https://community.plotly.com/t/graph-spacing-from-yaxis-inconsistent-between-graphs/31323>\
**Category:** plotly.js\
**Created:** [November 14, 2019, 1:18pm UTC](https://community.plotly.com/t/graph-spacing-from-yaxis-inconsistent-between-graphs/31323 "2019-11-14T13:18:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Emmanuelle](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/emmanuelle/32/7853_2.png) [@Emmanuelle](https://community.plotly.com/u/Emmanuelle)\
**Post date:** [November 14, 2019, 2:20pm UTC](https://community.plotly.com/t/graph-spacing-from-yaxis-inconsistent-between-graphs/31323/2 "2019-11-14T14:20:32Z")

</div>

Do you want to do this from Python or Javascript? I think your question is related to [Offset graph from axis](https://community.plotly.com/t/offset-graph-from-axis/31286)

You can change the `range` of the `xaxis` (for a categorical axis the positions correspond to indices).

---

_[View the full topic](https://community.plotly.com/t/graph-spacing-from-yaxis-inconsistent-between-graphs/31323)._
