optim_results.plot_cost_history
- optim_results.plot_cost_history(ax: axes, nitstop: int = -1, xlog: bool = False, ylog: bool = False, **ax_kwargs)[source]
Plot the optimization cost history.
- Parameters:
ax (matplotlib.axes.Axes) – Target axes.
nitstop (int, optional) – Final iteration displayed.
xlog (bool, optional) – If
True, use a logarithmic x-axis.ylog (bool, optional) – If
True, use a logarithmic y-axis.**ax_kwargs (dict) – Additional plotting keyword arguments.