scatterplotmatrix
scatterplotmatrix(X, fig_axes=None, names=None, figsize=(8, 8), alpha=1.0, kwargs)
Lower triangular of a scatterplot matrix
Parameters
-
X
: array-like, shape={num_examples, num_features}Design matrix containing data instances (examples) with multiple exploratory variables (features).
-
fix_axes
: tuple (default: None)A
(fig, axes)
tuple, where fig is an figure object and axes is an axes object created via matplotlib, for example, by calling the pyplotsubplot
functionfig, axes = plt.subplots(...)
-
names
: list (default: None)A list of string names, which should have the same number of elements as there are features (columns) in
X
. -
figsize
: tuple (default: (8, 8))Height and width of the subplot grid. Ignored if fig_axes is not
None
. -
alpha
: float (default: 1.0)Transparency for both the scatter plots and the histograms along the diagonal.
-
**kwargs
: kwargsKeyword arguments for the scatterplots.
Returns
-
fix_axes
: tupleA
(fig, axes)
tuple, where fig is an figure object and axes is an axes object created via matplotlib, for example, by calling the pyplotsubplot
functionfig, axes = plt.subplots(...)