Jhsmit / PyHDX

Derive ΔG for single residues from HDX-MS data
http://pyhdx.readthedocs.io
MIT License
28 stars 12 forks source link

Dataset switching performance #216

Closed Jhsmit closed 2 years ago

Jhsmit commented 2 years ago

Currently when switching between 'state_name' of 'fit_ID' in the web app, updating of graphs happens one-by-one and performance is poor, ie loading is slow.

Possible fixes:

Jhsmit commented 2 years ago

loading spinners? https://panel.holoviz.org/gallery/simple/loading_spinner.html

def update(event): with pn.param.set_values(hv_pane, loading=True): time.sleep(1.5) hv_pane.object = random_plot()

Jhsmit commented 2 years ago

Much better now with beta 5 and #234