Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plot commands should only be executed once per load and once per parameter/bike change #45

Open
moorepants opened this issue Apr 21, 2020 · 1 comment

Comments

@moorepants
Copy link
Owner

If you add a print statement in cycle_app.py where plot_eigenvalues is called and refresh the app, you see that print statement displayed 3 times. For some reason that callback is executed too many times. If you change the bike selection it them seems to execute 4 times. These callbacks should only be executed once per change of any input box and ideally once per load.

@sandertyu

@sandertyu
Copy link
Collaborator

I agree this is an issue. It doesn't really seem to break anything at the moment but it certainly should be debugged. It's been happening ever since I originally implemented that callback, and I'm not at all sure why it's happening. I think we should take a look at it during our meeting this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants