CADETProcess.optimization.Population.plot_pareto#
- Population.plot_pareto(include_meta: bool = True, plot_infeasible: bool = True, color_feas: str = 'blue', color_infeas: str = 'red', *args: Any, ax: ndarray[Axes] | None = None, setup_figure_kwargs: dict | None = None, **kwargs: Any) tuple[Figure, ndarray[tuple[Any, ...], dtype[Axes]]][source]#
Plot pairwise Pareto fronts for each generation in the optimization.
- Parameters:
- include_metabool, default=True
If True, include meta scores in the plot.
- plot_infeasiblebool, default=True
If True, plot infeasible points.
- color_feasstr, default=’blue’
Color for feasible points.
- color_infeasstr, default=’red’
Color for infeasible points.
- *argsAny
Additional positional arguments passed to plot_pairwise.
- 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 plot_pairwise.
- Returns:
- tuple[plt.Figure, npt.NDArray[plt.Axes]]
Figure and axes objects.