-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add a new residuals_plot
?
#201
Comments
Kind of along the lines of your graph comment: Did you consider making these functions composable, e.g. using |
Interesting, but I am now sure I get what would |
It would create the base plot, then create the residuals plot from the data in the base plot and arrange everything into a single figure. Basically the same that your |
So in your example |
What does |
I thought you would have 3 lines in the main plot and 2 lines in the small panel below. |
Actually, scratch that, I thought I had written |
So |
Yes |
I'm starting to think that to make this work in a generic way, we would need to be able to stitch two graphs together. For example, the way I was first imagining I would implement this But if you would like to use this as a final extra viz after you've performed other operations such as changing a fitting parameter with a slider, then you would want to add this 'sub-graph' to the other graph which has the slider, to make a large graph. So maybe we do need a |
Or maybe it's just that all the functions like |
Continuing on this idea, I think we should use nodes a lot more in the high level plotting functions. |
See #254 |
@jl-wynen If you wanted more than one line you could do |
This example shows how to make a plot of multiple lines with a residual difference panel below the main plot.
Is this something that is common enough that we could have a dedicated function for creating it?
For example,
plopp.residual_plot(b, c, reference=a)
would show 3 lines in the main panel andb-a
andc-a
in the residuals panel.I guess it would be most useful if it could be used as a view in a graph of nodes, and not just a single purpose function.
This would mean that it could be used in combination with a slider, where both the main panel and the residuals would update when moving the slider.
The text was updated successfully, but these errors were encountered: