Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method to eliminate the diagonal plot in a pairplot is to use the "diag_kind" parameter and set it to "none" while creating the pairplot. For example:

import seaborn as sns
iris = sns.load_dataset("iris")
sns.pairplot(iris, diag_kind="none")

This will create a pairplot without the diagonal plot.