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

Elongated Jointplot Issue (Distorted graph) #3558

Open
cfreder2 opened this issue Nov 13, 2023 · 3 comments
Open

Elongated Jointplot Issue (Distorted graph) #3558

cfreder2 opened this issue Nov 13, 2023 · 3 comments

Comments

@cfreder2
Copy link

We are running into an issue with Python 3.12 and Seaborn 0.13.0 that produces elongated jointplots. See screenshot below.

image

Here is what this should look like, running Python 3.11.4
image
image

@mwaskom
Copy link
Owner

mwaskom commented Nov 14, 2023

I would be surprised if this were really about the version of Python itself. You also have different versions of most dependencies. Do you have scipy installed, and if so, what version(s)?

Can you please also share a copy-paste-able example (using an example dataset) rather than a screenshot of code? That makes it much easier to help...

@mwaskom
Copy link
Owner

mwaskom commented Nov 20, 2023

Any update on a reproducible example @cfreder2? I am not seeing this using an analogous built-in dataset:

import seaborn as sns
mpg = sns.load_dataset("mpg")
sns.kdeplot(mpg, x="horsepower", y="mpg")

image

So you will need to be in the loop to help debug as to the specifics of your data / environment...

@justindubin
Copy link

Hi, there. I am experiencing a very similar problem between Python 3.10.12 and 3.11.8. The exact same packages and code yield very different 2-D KDE plots. My package versions are attached.

The following was generated using Python 3.11.8:
kde_2d_py311

The following was generated using Python 3.10.12:
kde_2d_py310

requirements.txt

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

No branches or pull requests

3 participants