# Original axes range

**URL:** <https://community.plotly.com/t/original-axes-range/61838>\
**Category:** 📊 Plotly Python\
**Tags:** question\
**Created:** [March 11, 2022, 3:05pm UTC](https://community.plotly.com/t/original-axes-range/61838 "2022-03-11T15:05:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lambdakappatheta](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@lambdakappatheta](https://community.plotly.com/u/lambdakappatheta)\
**Post date:** [March 11, 2022, 3:05pm UTC](https://community.plotly.com/t/original-axes-range/61838/1 "2022-03-11T15:05:15Z")

</div>

Hi! I understand that I can zoom in on / zoom out of a plot like this:

```auto
import numpy as np
import plotly.graph_objects as go

x = np.linspace(0, 10, 11)
y = x ** 2

fig = go.Figure(go.Scatter(x=x, y=y))
fig.show()

fig.update_xaxes({'range': (5, 10)})
fig.show()

```

Now, I can access the range:

```auto
assert list(fig.select_xaxes())[0].range == (5, 10)

```

I can also reset it:

```auto
fig.update_xaxes({'range': None})

```

But how can I find the range of the original plot?
