Don't print all X axis values

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?

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)

Hi @jas02 , welcome to the forums.

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