# Get max y tick on the y axis of a graph

**URL:** <https://community.plotly.com/t/get-max-y-tick-on-the-y-axis-of-a-graph/46801>\
**Category:** Dash Python\
**Created:** [November 3, 2020, 7:57pm UTC](https://community.plotly.com/t/get-max-y-tick-on-the-y-axis-of-a-graph/46801 "2020-11-03T19:57:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yariski](https://avatars.discourse-cdn.com/v4/letter/y/c37758/32.png) [@yariski](https://community.plotly.com/u/yariski)\
**Post date:** [November 3, 2020, 7:57pm UTC](https://community.plotly.com/t/get-max-y-tick-on-the-y-axis-of-a-graph/46801/1 "2020-11-03T19:57:59Z")

</div>

![Screenshot 2020-11-03 145437](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/8/8488020fba5a82f21fa0146cb21e82a531fa43dc.png)

I basically want to get the max tick of this graph (900) that plotly automatically generates. I tried fig.layout.yaxis but all it returned was the nticks I have set. Is there a way to get a list of the ticks to obtain a max value?
