CADETProcess.optimization.Population.plot_objectives#
- Population.plot_objectives(figs: Figure | list[Figure] | None = None, axs: Axes | list[list[Axes]] | None = None, include_meta: bool = True, plot_infeasible: bool = True, plot_individual: bool = False, autoscale: bool = True, color_feas: str = 'blue', color_infeas: str = 'red', show: bool = True, plot_directory: str | Path | None = None) tuple[list[Figure], list[list[Axes]]][source]#
Plot the objective function values for each design variable.
- Parameters:
- figsplt.Figure or list, optional
Figure(s) to plot the objectives on. The default is None.
- axsplt.Axes or list, optional
Axes to plot the objectives on. The default is None.
- include_metabool, optional
If True, include meta scores in the plot. The default is True.
- plot_infeasiblebool, optional
If True, plot infeasible points. The default is True.
- plot_individualbool, optional
If True, create separate figures for each objective. Otherwise, plot all objectives in one figure. The default is False.
- autoscalebool, optional
If True, automatically adjust the scaling of the axes. The default is True.
- color_feasstr, optional
The color for the feasible points. The default is ‘blue’.
- color_infeasstr, optional
The color for the infeasible points. The default is ‘red’.
- showbool, optional
If True, display the plot. The default is True.
- plot_directorystr, optional
The directory where the plot should be saved. The default is None.
- Returns:
- tuple
A tuple of the figure(s) and axes object(s).