I have a use case where I pull and plot Forex data in the form of ask and bid on the graph and this is based on minute, hour or day candlesti
Forex
ask and bid
minute, hour or day candlesti
According to documentation
try to add this before fig.show()
fig.show()
fig.update_xaxes( rangebreaks=[ dict(bounds=["sat", "sun"]), #hide weekends ] )
or
fig.layout.xaxis.type = 'category'