python - Plotly: How to remove empty dates from x axis? - Stack Overflow

PHOTO EMBED

Tue Mar 01 2022 17:41:19 GMT+0000 (Coordinated Universal Time)

Saved by @Milados

fig.layout = dict(title=ticker, xaxis = dict(type="category", categoryorder='category ascending'))
content_copyCOPY

https://stackoverflow.com/questions/61895282/plotly-how-to-remove-empty-dates-from-x-axis