I am trying to shorten size of the xaxis labels on my graph. I would like to only have hour and minute. At the moment my .csv file holds it in the full format '23/09/2022 00:10:00', etc Tried to applied some formatting found in google but it does not seem to update my graph. Anyone could advise on this please?
df = two_days_data.sort_values(by='Date')
mask = df["TTT"] == station
fig = px.line(df[mask], x='Date', y="AAA", title='BBB.', markers=True)
fig.update_xaxes(type='category', tickformat="%H %M")
return fig


