Open phaustin opened 2 years ago
I think this is solved by storing data in the browser with a dcc.Store, as per https://dash.plotly.com/sharing-data-between-callbacks. The procedure seems to work - see the https://ocgy-dataviewer.herokuapp.com/ and also used in the demonstration app at https://clickimage.herokuapp.com/ . Repositories are at https://github.com/jamiebyer/ocgy-dataviewer and https://github.com/jamiebyer/ClickImage
Look at this working example to see how they handle page refresh with hover:
https://github.com/phaustin/dash-sample-apps https://dash.gallery/dash-covid-xray/
https://eoss-image-processing.github.io/2020/12/16/ct-app.html
https://github.com/jamiebyer/ocgy-dataviewer