fig.update_xaxes(rangeslider_visible=True,rangeselector=dict(buttons=list([dict(count=15, label=’15m’, step=”minute”, stepmode=”backward”),dict(count=45, label=’45m’, step=”minute”, stepmode=”backward”),dict(count=1, label=’1h’, step=”hour”, stepmode=”backward”),dict(count=6, label=’6h’, step=”hour”, stepmode=”backward”),dict(step=”all”)])))