# Setting Range of Axes Manually

**URL:** <https://community.plotly.com/t/setting-range-of-axes-manually/58485>\
**Category:** 📊 Plotly Python\
**Created:** [November 16, 2021, 2:45pm UTC](https://community.plotly.com/t/setting-range-of-axes-manually/58485 "2021-11-16T14:45:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oladayo](https://avatars.discourse-cdn.com/v4/letter/o/8edcca/32.png) [@Oladayo](https://community.plotly.com/u/Oladayo)\
**Post date:** [November 16, 2021, 2:45pm UTC](https://community.plotly.com/t/setting-range-of-axes-manually/58485/1 "2021-11-16T14:45:40Z")

</div>

Is it quite possible to set the lower boundary of the axes and leave out the upper boundary of the axes to be automatic in plotly?

I have tried some combination like;

fig\_pressures.update\_yaxes(range=[0])

fig\_pressures.update\_yaxes(range=[0,])

None seem to be working.

---

<div class="post-metadata">

**Author:** ![jlfsjunior](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jlfsjunior/32/16061_2.png) [@jlfsjunior](https://community.plotly.com/u/jlfsjunior)\
**Post date:** [November 16, 2021, 9:16pm UTC](https://community.plotly.com/t/setting-range-of-axes-manually/58485/2 "2021-11-16T21:16:21Z")

</div>

If you want the lower bound to be specifically 0, you could try rangemode=“nonnegative” instead.

---

<div class="post-metadata">

**Author:** ![Oladayo](https://avatars.discourse-cdn.com/v4/letter/o/8edcca/32.png) [@Oladayo](https://community.plotly.com/u/Oladayo)\
**Post date:** [November 17, 2021, 7:30am UTC](https://community.plotly.com/t/setting-range-of-axes-manually/58485/3 "2021-11-17T07:30:12Z")

</div>

Thank you so much.

It worked
