eoas-ubc / eoas_tlef

developing jupyter courseware for eoas 2020
BSD 3-Clause "New" or "Revised" License
3 stars 6 forks source link

debug page refresh problem with ocgy dashboard #57

Open phaustin opened 2 years ago

phaustin commented 2 years ago

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

fhmjones commented 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