CADETProcess.optimization.OptimizationResults.plot_objectives#
- OptimizationResults.plot_objectives(plot_pareto: bool = False, *args: Any, ax: ndarray[Axes] | None = None, setup_figure_kwargs: dict | None = None, **kwargs: Any) tuple[Figure, ndarray[Axes]][source]#
Plot objective function values for all optimization generations.
- Parameters:
- plot_paretobool, default=False
If True, only Pareto front members of each generation are plotted. Otherwise, all evaluated individuals are plotted.
- *argsAny
Additional positional arguments passed to gen.plot_objectives.
- axnp.ndarray[plt.Axes] | None, default=None
Optional array of Matplotlib Axes. If not provided, a new figure is created.
- setup_figure_kwargsdict | None, default=None
Additional options to setup the figure.
- **kwargsAny
Additional keyword arguments passed to gen.plot_objectives.
- Returns:
- tuple[plt.Figure, np.ndarray[plt.Axes]]
A tuple containing: - The Matplotlib Figure object. - An array of Axes objects representing the subplots.