-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 'numpy' has no attribute 'float'. #3630
Comments
What version of seaborn are you using ? I expect this problem would go away by updating to the latest version. Also, it would be best to provide an easily reproducible example instead of a custom dataframe. |
Bellow is the information of my seaborn obtained using conda list seaborn
The simple example replicating the issue that you request is below:
|
Did you try to upgrade seaborn? (Or downgrade numpy?) The packages seaborn is built on (matplotlib, numpy, pandas, scipy, ...) frequently introduce non-compatible changes, and the only way to cope, is to upgrade seaborn (or downgrade the conflicting library). Note that seaborn 0.10.1 is from April 2020. |
I tried. with |
Your version of seaborn is severely outdated, the current version is 0.13. I am not sure why you have such an old version since Anaconda distributes 0.12 ; I recommend using conda-forge to install the latest version of seaborn. |
Looks like this was addressed in seaborn back in 2020: #2236 Your environment looks wonky as you have both |
While performing a linear simple plot of the small DataFrame below:
when I run the following line:
I faced the following error:
This error happens only on the lineplot method. I also tried the scatterplot (below) and it worked perffectly.
The text was updated successfully, but these errors were encountered: