How to Add uirevision Directly to Figure in Plotly Dash for Automatic Updates
Solution 1:
You can use the update_layout
member function of the figure.
my_figure.update_layout(uirevision=<your data>)
More information here: https://plotly.com/python/creating-and-updating-figures/#updating-figure-layouts