kenuxi / EVA

IoSL SS 2020
0 stars 0 forks source link

Dash Callbacks , Slow figures reason #3

Closed alrod97 closed 4 years ago

alrod97 commented 4 years ago

Hey Hey

I think (I'm not sure, this is just a guess) the current dashboard is so "slow" sometimes because we're using a big callback for all the figures, so even if we change a parameter that only changes one plot, all plots/figures are being updated. I think the solution is to implement different callbacks depending on which parameters affect different figures. If this is right, changing this should be pretty easy. As I understood it, dash only calls/uses the one Callback function where the Input parameter has been changed by the user (e.g the user selects dim=1 for PCA in the correspondent button)

Let me know if this is a right guess

kenuxi commented 4 years ago

How is this progressing?