I'm trying to take a look at the Seaborn parachute for two different classes of variables, and I would like to see KDE on offdiagal instead of a diffused screen. The documentation has instructions on how to make KDE for all data , but I want to see separate KDE for each data subclass. Suggestions are welcome!
My code looks something like this:
plot = sns.pairplot( df, vars=labels, hue='has_accident', palette='Set1', diag_kind='kde', )
that leads to:

As you can see, the data is quite dense, which makes it difficult to see the difference in the red and blue data diagonally.
source share