CADETProcess.optimization.Population.plot_objectives

CADETProcess.optimization.Population.plot_objectives#

Population.plot_objectives(figs=None, axs=None, include_meta=True, plot_infeasible=True, plot_individual=False, autoscale=True, color_feas='blue', color_infeas='red', show=True, plot_directory=None)[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).