pairplot x_vars issue: First plot is not being displayed
See original GitHub issueiris = sns.load_dataset("iris")
sns.pairplot(data=iris, x_vars=['sepal_length', 'petal_length','petal_width'], y_vars=['sepal_width']);
sns.pairplot(data=iris, x_vars=['','sepal_length', 'petal_length','petal_width'], y_vars=['sepal_width']);
sns.pairplot(data=iris, x_vars=['sepal_length', '', 'petal_length','petal_width'], y_vars=['sepal_width']);
First plot of pairplot is not being displayed when using multiple variables in [x_vars.] (https://github.com/RPunyatoya/Seaborn-Issue/blob/master/Seaborn 0.11.0 Issue.ipynb) Also when giving wrong column name such as blank (‘’), It’s not throwing any error instead just displaying empty plot in the 1st place where as getting appropriate error when providing ‘’ as 2nd onward column name.
Thank you…!!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Hi. You can display the first plot using the below code:
sns.pairplot(diag_kind= None,data=iris, x_vars=[‘sepal_length’, ‘petal_length’,‘petal_width’], y_vars=[‘sepal_width’]) plt.show()
@mmagnuski oh thanks