pybop.plot.parameters#

Functions#

parameters(result[, show])

Plot the evolution of parameters during the optimisation process using Plotly.

Module Contents#

pybop.plot.parameters.parameters(result: pybop._result.Result, show=True, **layout_kwargs)[source]#

Plot the evolution of parameters during the optimisation process using Plotly.

Parameters:
  • result (pybop.Result) – Optimisation result containing the history of parameter values and associated cost.

  • 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:

A Plotly figure object showing the parameter evolution over iterations.

Return type:

plotly.graph_objs.Figure