Plot design points projected onto two selected dimensions.
Displays a scatter plot of design points using dimensions i and j as the axes. When X has more than two dimensions, all remaining dimensions (≠ i and ≠ j) are aggregated per point using the agg function, and the result is used to colour the markers.
Aggregation applied to the dimensions that are not plotted (i.e. every column except i and j). Supported strings: "mean", "median", "min", "max". A callable f(arr, axis) is also accepted (e.g. np.std). The aggregated value is used as the colour of each marker so that spread across the hidden dimensions is visible at a glance. When n_dim == 2 this parameter is ignored (no hidden dims). Defaults to "mean".
If True, call :func:matplotlib.pyplot.show before returning. Set to False when running inside tests or scripts that manage display manually. Defaults to True.
Additional keyword arguments forwarded to :func:matplotlib.pyplot.subplots (e.g. figsize) and to :func:matplotlib.axes.Axes.scatter (e.g. s, cmap, alpha). figsize is intercepted and passed to subplots; all other keys go to scatter.