# Don't print all X axis values

**URL:** <https://community.plotly.com/t/dont-print-all-x-axis-values/69128>\
**Category:** 📊 Plotly Python\
**Created:** [October 22, 2022, 10:11am UTC](https://community.plotly.com/t/dont-print-all-x-axis-values/69128 "2022-10-22T10:11:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jas02](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jas02/32/21203_2.png) [@jas02](https://community.plotly.com/u/jas02)\
**Post date:** [October 22, 2022, 10:11am UTC](https://community.plotly.com/t/dont-print-all-x-axis-values/69128/1 "2022-10-22T10:11:38Z")

</div>

Hi,

I am new to Plotly/Dash.

I want to print on X axis just subset of values from which X axis is made of. In my case I have on X-axis time of the day and in format HH:MM:SS, but has too many values and I would like to print just every hour or half an hour on X axis. All values has to be placed to right position (particular hour for example). How to do that?

 ![Screenshot 2022-10-22 at 12.02.32](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/8/a/8a90cb8d3ee58505b21bfa7afe871c1f8bde6d84.jpeg)

```auto
df = pd.read_csv('tmp.csv', delimiter=";")

df2 = df.loc[df['Date'] == '23.08.2021']

data = []

trace = go.Scatter(x=df2['Time'],
                  y=df2['Speed'],
                  mode='lines',
                  name='23.8.2021')
data.append(trace)

```

---

<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:** [October 24, 2022, 9:11am UTC](https://community.plotly.com/t/dont-print-all-x-axis-values/69128/2 "2022-10-24T09:11:42Z")

</div>

Hi @jas02 , welcome to the forums.

Does this help you (search for `"Tickformatstops to customize for different zoom levels"`) ?

> **[Formatting](https://plotly.com/python/tick-formatting/)**
>
> Detailed examples of Formatting Ticks including changing color, size, log axes, and more in Python.
