CADETProcess.optimization.Population.plot_objectives

CADETProcess.optimization.Population.plot_objectives#

Population.plot_objectives(include_meta: bool = True, plot_infeasible: bool = True, autoscale: bool = True, color_feas: str = 'blue', color_infeas: str = 'red', ax: ndarray[tuple[Any, ...], dtype[Axes]] | None = None, setup_figure_kwargs: dict | None = None) tuple[Figure, ndarray[tuple[Any, ...], dtype[Axes]]][source]#

Plot the objective function values for each design variable.

Parameters:
include_metabool, default=True

If True, include meta scores in the plot.

plot_infeasiblebool, default=True

If True, plot infeasible points.

autoscalebool, default=True

If True, automatically adjust the scaling of the axes.

color_feasstr, default=’blue’

Color for feasible points.

color_infeasstr, default=’red’

Color for infeasible points.

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.

Returns:
tuple[plt.Figure, npt.NDArray[plt.Axes]]

Figure and axes objects.