-
-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
There is a conflict between matplotlib and PCA #17788
Comments
I cannot reproduce on linux. |
Could not reproduce either on Windows 10 x64 (with scikit-learn 0.23.2 and specified numpy, scipy and matplotlib versions). |
Thanks @glemaitre and @Phaide for trying to reproduce the bug. @hewenkui can you try again with the latest version and confirm whether you still observe the exception? thanks |
As suggested in the related issue: #19285 (comment) , the solution is to update NumPy. |
Using sklearn.decomposition.PCA, if the matplotlib library is used to draw a picture, there will be an exception ( numpy.linalg.LinAlgError)
The test code(windows x64, matplotlib==3.2.2, scipy==1.5.0, numpy==1.19.0):
The text was updated successfully, but these errors were encountered: