-
Notifications
You must be signed in to change notification settings - Fork 7
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
Plot / sum spectrum is not updating when a recoil element is removed #230
Comments
@tpitkanen , any ideas how to tackle this? I think here should be some kind of listener: potku/widgets/matplotlib/simulation/recoil_atom_distribution.py Lines 363 to 373 in 6d177f0
Is it somehow possible to use this: potku/widgets/matplotlib/measurement/energy_spectrum.py Lines 788 to 810 in bafe930
|
The "Remove selected element" button calls this method: I think you should first ask @mlaitin if Potku has previously done this or not. If it has, this current behavior is caused by a bug and needs to be fixed. If it hasn't, then this is new functionality that needs to be implemented. Also, as always, check if this change has any possible side effects. |
When a recoil element (such as Cl) is removed from the GUI it should be removed from the plot too.
The text was updated successfully, but these errors were encountered: