Plot Summary Variables#
- pybamm.plot_summary_variables(solutions, output_variables=None, labels=None, testing=False, **kwargs_fig)[source]#
Generate a plot showing/comparing the summary variables.
- Parameters:
solutions ((iter of)
pybamm.Solution
) – The solution(s) for the model(s) from which to extract summary variables.output_variables (list (optional)) – A list of variables to plot automatically. If None, the default ones are used.
labels (list (optional)) – A list of labels to be added to the legend. No labels are added by default.
testing (bool (optional)) – Whether to actually make the plot (turned off for unit tests).
kwargs_fig – Keyword arguments, passed to plt.subplots.