Hi team,
I am trying to format the x axis date ticks. I want to show the First tick and the Last tick and show ticks for every 7 days.
How I do that?
Here is my code:
fig.update_xaxes(
showgrid=True,
ticks=“inside”,
tickson=“boundaries”,
ticklen=5,
tick0=df1[‘Date’][0],
dtick=7,
tickmode=‘auto’,
tickformat= ‘%d %b’
#dtick=4
#nticks=4
)
Thanks,
E