Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Set active rangeselector button

When I select the “all” button in the rangeselector, I trigger a relayout event that ends with a plotly.redraw. The problem I have is that the “all” buttons loses its highlight, as if it was no longer active. How could I make it active?

I just found the problem. I was setting xaxis.autorange to false.

1 Like