Skip to content
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

Bugs in non quadratic pairplots #2369

Closed
markus783 opened this issue Dec 3, 2020 · 2 comments
Closed

Bugs in non quadratic pairplots #2369

markus783 opened this issue Dec 3, 2020 · 2 comments

Comments

@markus783
Copy link

From version 0.9.0 to version 0.11.0 the "diagonal" on non quadratic pairplots is empty.

Sample Code:

import seaborn as sns
import pandas as pd 
from matplotlib import pyplot as plt

test_df = pd.DataFrame({"a": [1,2,3,4], "b": [3,4,5,6], "c": [5,3,6,1]})
sns.pairplot(test_df, x_vars=["a"], y_vars=["b", "c"])
plt.show()

The top graph is empty although a scatter plot should be shown in place as the two columns have matching indices.

@Horst-Konopka
Copy link

Yes, this is also a problem we had at our company. We solved it by just not using non quadratic pairplots.

@mwaskom
Copy link
Owner

mwaskom commented Dec 3, 2020

Duplicate of #2260 (there's an easy workaround given there).

@mwaskom mwaskom closed this as completed Dec 3, 2020
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

3 participants