# Set axis range to match data

**URL:** <https://community.plotly.com/t/set-axis-range-to-match-data/93168>\
**Category:** 📊 Plotly Python\
**Tags:** question\
**Created:** [July 16, 2025, 6:38am UTC](https://community.plotly.com/t/set-axis-range-to-match-data/93168 "2025-07-16T06:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [July 16, 2025, 8:13am UTC](https://community.plotly.com/t/set-axis-range-to-match-data/93168/4 "2025-07-16T08:13:31Z")

</div>

There are some things you can specify, search for `Autorange Options` here:

> **[Axes](https://plotly.com/python/axes/)**
>
> Over 49 examples of Axes including changing color, size, log axes, and more in Python.

Unfortunately I can’t see a direct way to adjust the padding of the min/max values of the axes. I guess this is done within plotly JS.

[Same question](https://community.plotly.com/t/autorange-padding-calculation/15462), only 7 years ago 🤣

---

_[View the full topic](https://community.plotly.com/t/set-axis-range-to-match-data/93168)._
