8000 Regarding Sns.PairGrid diagonal Plots · Issue #2 · kimfetti/Videos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Regarding Sns.PairGrid diagonal Plots #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
naresh-patra opened this issue Mar 11, 2022 · 1 comment
Open

Regarding Sns.PairGrid diagonal Plots #2

naresh-patra opened this issue Mar 11, 2022 · 1 comment

Comments

@naresh-patra
Copy link

Hii.. Kimfetti

I am Naresh from India. For my research work I need to put separate data in the Diagonal plots of sns.pairgrid plots. The Problems I am facing are

  1. The all diagonal plots y-axis is common to the same row plots e.g, y-axis of 1,1 subplots is common to 1,0 subplots. So if I am change the limits of 1,1 or 1,0 subplots both are getting affecting.
  2. What ever it is ploting using kde to diagonal that is not probability density along y-axis. The problem you can verify if you will plot it separate

Please see my problems if possible can you let me know the solution with my mail
nareshkumarpatra3@gmail.com

@samueltexa
Copy link

Try out this
import seaborn as sns

Create a PairGrid object

g = sns.PairGrid(data)

Set the y-axis limits for each subplot

g.map_diag(sns.kde, y_vars=['column_name'], cut=0)

Plot the PairGrid

g.map_offdiag(sns.scatterplot)

Show the plot

plt.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0