Plot lower triangle in a seaborn Pairgrid

后端 未结 2 402
死守一世寂寞
死守一世寂寞 2021-02-06 00:04

I\'m a bit struggling with seaborn Pairgrid.

Let\'s say I have a Pairgrid like this:

As you can see, the upper triangle plots mirror the lower triangle

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-06 00:31

    With seaborn >= 0.9.1:

    import seaborn as sns
    iris = sns.load_dataset("iris")
    sns.pairplot(iris, corner=True)
    

提交回复
热议问题