pybop.plot.problem#
Functions#
|
Produce a quick plot of the target dataset against optimised model output. |
Module Contents#
- pybop.plot.problem.problem(problem: pybop.problems.problem.Problem, problem_inputs: pybop.parameters.parameter.Inputs = None, show: bool = True, **layout_kwargs)[source]#
Produce a quick plot of the target dataset against optimised model output.
Generates an interactive plot comparing the simulated model output with an optional target dataset and visualises uncertainty.
- Parameters:
problem (pybop.Problem) – Problem object with dataset and targets attributes.
problem_inputs (Inputs) – Optimised (or example) parameter values.
show (bool, optional) – If True, the figure is shown upon creation (default: True).
**layout_kwargs (optional) – Valid Plotly layout keys and their values, e.g. xaxis_title=”Time / s” or xaxis={“title”: “Time [s]”, font={“size”:14}}
- Returns:
The Plotly figure object for the scatter plot.
- Return type:
plotly.graph_objs.Figure