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

plot_confusion_matrix has weird white grid lines with Seaborn #13

Closed
reiinakano opened this issue Feb 24, 2017 · 4 comments
Closed

plot_confusion_matrix has weird white grid lines with Seaborn #13

reiinakano opened this issue Feb 24, 2017 · 4 comments

Comments

@reiinakano
Copy link
Owner

As pointed out by @frankherfert , when Seaborn is used (import seaborn) with scikit-plot, the confusion matrix tends to have weird white grid lines. Suggestions on how to get rid of this (especially from experienced Seaborn users) without adding a Seaborn dependency would be much appreciated.

confmatrixseaborn

@david1309
Copy link

Hello @reiinakano ,

you might try turning 'off' the grid in the plot.

clf.plot_confusion_matrix(x_train, y_train, normalize=True)
plt.grid('off')

@reiinakano
Copy link
Owner Author

Hi @david1309 , I just tried this out, and you're right, it does solve the problem!

Finally this issue can be put to rest. Thanks a lot!

@reiinakano
Copy link
Owner Author

fixed in #27

@flicht
Copy link

flicht commented Feb 14, 2020

plt.grid(False) worked for me

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