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

AttributeError: module 'seaborn' has no attribute 'scatterplot' #1735

Closed
sheikita opened this issue May 1, 2019 · 6 comments
Closed

AttributeError: module 'seaborn' has no attribute 'scatterplot' #1735

sheikita opened this issue May 1, 2019 · 6 comments

Comments

@sheikita
Copy link

sheikita commented May 1, 2019

Hi There,

I was trying to create a scatter plot in Jupyter Notebook.

m = sns.scatterplot(x="WeightLB", y="HeightIn", data=data)

But I am getting the below error.

Screen Shot 2019-04-30 at 6 11 31 PM

Thanks!
Sheila

@mwaskom
Copy link
Owner

mwaskom commented May 1, 2019

Almost certainly you are using a version that predates the introduction of that function in 0.9.0.

@mwaskom mwaskom closed this as completed May 1, 2019
@praveen-somineni

This comment was marked as off-topic.

@wolfiex
Copy link

wolfiex commented Dec 10, 2019

Almost certainly you are using a version that predates the introduction of that function.

Yes, but what do you call a scatter plot in previous sns versions?

@nine-na

This comment has been minimized.

@vivekkathula

This comment has been minimized.

@mwaskom
Copy link
Owner

mwaskom commented May 18, 2020

Yes, but what do you call a scatter plot in previous sns versions?

There was no explicit scatter plot function prior to v0.9.0. As @praveen-somineni suggests, it was possible to draw a scatter plot via regplot or lmplot with fit_reg=False, if for some reason you cannot upgrade.

Repository owner locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants