I am plotting a Line + Scatter figure. In my xaxis I used the date but only around Christmas time in the last three years. When I plotted the figure, it is showing all the time from the beginning to the end, but I only wish to show the date I have in my figure but not other dates that even not appeared in my data. And the ticks/scale gap is the same value on the x-axis.
Here is the figure I plotted roughly:
the code is below:
df_all_Xms = df_all_Xms.reset_index()
fig_line = go.Figure()
name=‘Sampling numbers during Xms’))
title_text=‘Sampling # against Pos # during Xms’,
Hopefully my question is clear to understand. Thanks for help!