-
Notifications
You must be signed in to change notification settings - Fork 43
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
2447 plot roles #2448
2447 plot roles #2448
Conversation
I am not convinced that the two new roles: Firstly, this is really log log and linear log (not linear linear as the name might imply). There can be log linear and linear linear. In fact, the polydispersity plots are linear linear for example. Furthermore, looking to the future, one probably wants to move the "change scale" from actually changing the data to x and y transforms. Finally, data1D objects already have a property that seems to do this |
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.
Code looks good now. I will defer to others on whether the long term choice should be to leave the scale choice to the plottable object .. though the more I think about it the more that seems right.
Functionality is tested on windows and the fix does what it says. I recommend we merge post haste.
This looks good. the standalone role could be used as a starting point for refactoring of the "quick plots" which make the plotting subsystem more complex than it should be. |
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.
looks good
do we need somebody to test on a mac or can we say that for this what has been done should be good enough and just merge? |
Description
A new plotting role is introduced here to flag specific plots as a stand-alone. This is separate from the residual role which has unique characteristics. Ths role allows a plot to be displayed on its own without the parent data set and has been applied to the P(r) and polydispersity plots so the residual lines added in #2443 are not shown.
Fixes #2447
How Has This Been Tested?
Run sasview. Run a fit with polydispersity. Residual plots have the +/- 1 and 3 lines, dispersity plots do not. Run a P(r) inversion. P(r) plots do not have the +/- lines.
Review Checklist (please remove items if they don't apply):