-
Notifications
You must be signed in to change notification settings - Fork 41
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
Two options to disable residuals and polydispersity distribution plots #2558
Conversation
Note that : 1) the residuals are still computed even if the option is checked 2) the issues 2526 2527 still remains
@lucas-wilkins to review as it speaks to both plotting and preferences panel |
src/sas/system/config/config.py
Outdated
@@ -197,6 +197,14 @@ def __init__(self): | |||
# sets the maximum number of characters per Fitting plot legend entry. | |||
self.FITTING_PLOT_LEGEND_MAX_LINE_LENGTH = 30 | |||
|
|||
# Residuals management | |||
# If true, disables residuals display | |||
self.DISABLE_RESIDUALS = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make config entries as explicit as reasonably possible,
I suggest DISABLE_RESIDUAL_PLOT
at least
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, done.
…config.py and 'disableResidualsPlot' the 'disableResiduals' widget in DisplayPreferencesWidget.py
Description
Two additional options in Display Settings.
The first one allows to disable residuals display, the second one allows to disable polydispersity distribution plot display.
How Has This Been Tested?
(De)activate one option in
Preferences > Display Settings
and try to plot the residuals / polydispersity distribution plot.Note
If the user activates the option for the residuals after plotting the residuals (for instance if he/she wants to disable the residuals before a fit), the residuals won't disappear (before or after a second plot). Issue #2526 still remains.
Review Checklist (please remove items if they don't apply):