CADETProcess.optimization.OptimizationResults.plot_pairwise#
- OptimizationResults.plot_pairwise(fig: Figure | None = None, axs: ndarray[tuple[Any, ...], dtype[Axes]] | None = None, n_bins: int = 20, use_transformed: bool = False, autoscale: bool = True, show: bool = True, plot_directory: str | None = None) tuple[Figure, ndarray]#
Create a pairplot using Matplotlib.
- Parameters:
- figOptional[plt.Figure], default=None
An optional Matplotlib Figure object. If none is provided, a new figure will be created.
- axsOptional[npt.NDArray[plt.Axes]], default=None
An optional array of Matplotlib Axes. If none is provided, new axes will be created.
- n_binsint, default=20
Number of bins for histogram plots.
- use_transformedbool, optional
If True, use the transformed independent variables. The default is False.
- autoscalebool, optional
If True, automatically adjust the scaling of the axes. The default is True.
- use_transformedbool, optional
If True, transformed values will be plotted. The default is False.
- 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 containing: - plt.Figure: The Matplotlib Figure object. - np.ndarray: An array of Axes objects representing the subplot grid.