Questions tagged [pairplot]

Plot pairwise relationships in a dataset using seaborn.pairplot

37 questions
0
votes
1 answer

python seaborn plot title or footnote including variable?

I'd like to be able to include a variable in either the title (subtitle) or footnote text on a seaborn pairplot -- I'm selecting for a date range and specifically want to add the dates and a name. I can easily put a static title on the pairplot and…
ChrisD
  • 21
  • 4
0
votes
1 answer

How to adjust the pairplot y-axis tick format

I want the y-axis to be able to display the actual price instead of values with decimals going only up to one. sns.pairplot(train, x_vars=['distance_travelled(kms)', 'car_age', 'year', 'brand_rank'], y_vars='price', …
0
votes
0 answers

In matplotlib, how to set ylim independently while setting sharey=True

I want to replicate seaborn pairplot function but I need increased flexibility to plot extra things. I have the following minimal example, but I need that the uppermost labels show the range [10, 20] instead of [0, 1] without changing the displayed…
cabo
  • 127
  • 1
  • 9
0
votes
1 answer

Show Statistical Information on Regression Plot

The below code used for regression plot and now I am wondering how can I estimate and print some statistical variables such as correlation, s-square and p value on each plot? The second problem is how can I change plot color? For example how can I…
0
votes
0 answers

Need to plot Pairplot for a dataframe that has duplicate indices

I have a dataframe 'df' (310, 7) and need to plot a pairplot for it. But I'm getting an error when I do it in a regular way. sns.pairplot(df,hue='Class') ValueError: cannot reindex from a duplicate…
0
votes
2 answers

Seaborn Pariplot: how to move legend and set style

I'm trying to get a pairplot of my data using seaborn. I want to set the legend outside of the axes because my other plots might have upto 9 features which makes the plot too corwded. My codes are: import seaborn as sns my_data = data # a 80x4…
Zheng
  • 93
  • 9
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
1 2
3