Questions tagged [pairgrid]

These questions are for seaborn.PairGrid, a subplot grid for plotting pairwise relationships in a dataset. When using this tag, also use the seaborn tag.

5 questions
13
votes
4 answers

seaborn pairgrid: using kdeplot with 2 hues

Here is my effort to plot a pairgrid plot that use the kdeplot in the lower part with 2 hues: My script is: import seaborn as sns g = sns.PairGrid(df2,hue='models') g.map_upper(plt.scatter) g.map_lower(sns.kdeplot) g.map_diag(sns.distplot) Is…
ecasa
  • 131
  • 1
  • 1
  • 3
1
vote
2 answers

How to add annotations in the diagonal squares of a pairplot

I've created a graph based on the iris dataset, but my Professor wants it to look a particular way. Their example has the diagonals labeled by the attribute. I don't see the option to edit the diagonal in that way in seaborn's pairplot…
Watson221
  • 73
  • 7
1
vote
1 answer

How to add annotations in the diagonal squares of a PairGrid

I want to implement a 5 number summary along the diagonal of a Python Seaborn PairGrid. I tried df.describe() along the diagonal but it did not work. A sample of what I am looking for is the picture at the bottom of this link…
Daniel Poh
  • 129
  • 1
  • 10
0
votes
1 answer

Seaborn PairGrid - how to add x,y labels in all subplots

I'm having a hard time renaming the subplots axis in a Seaborn.PairGrid plot. This one was the main post I was following to try to solve my issue but for me it simply does not work. I have also tried with df.axes[i,j].set(ylabel='foo',…
luzclasil
  • 73
  • 4
0
votes
1 answer

How to customize axes in Seaborn PairGrid

I am trying to customize a Seaborn PairGrid with the following: use log scale axes control axes limits (I want ylims = xlims for all subplots) color/line weight control for major/minor gridlines I think it can be done by just getting the…
a11
  • 3,122
  • 4
  • 27
  • 66