This PR will give the user the option to pass plot_residual=True to the analysis. This will add a residual plot to the figure.
Details and comments
Some details that should be in this section include:
Came from an issue that was open #1169 .
What tests and documentation have been added/updated
What do users and developers need to know about this change
What needed to do in this PR:
[x] Add support for different subplot sizes.
[x] Add automatic residual calculation.
[x] Plot residuals.
[x] Style the plot's color, legend, limits, etc.
When setting plot_residuals=True in analysis option, a residual plot will be added. currently work only for experiments with 1 plot in its figure.
Example for output with plot_residuals=True for RamseyXY experiment:
Can the residual plot example be moved from the Ramsey manual to the Visualization tutorial? I think that's a place where users are more likely to lok for the information.
Summary
This PR will give the user the option to pass
plot_residual=True
to the analysis. This will add a residual plot to the figure.Details and comments
Some details that should be in this section include:
What needed to do in this PR:
When setting
plot_residuals=True
in analysis option, a residual plot will be added. currently work only for experiments with 1 plot in its figure. Example for output withplot_residuals=True
forRamseyXY
experiment: