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

Update logistic_visualize.py #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FlorinAndrei
Copy link

With the current version of Matplotlib, I get white dots for the 0 class, which are hard to see.

This change uses the standard Matplotlib color palette for the classes, shifted by 1.

With the current version of Matplotlib, I get white dots for the 0 class, which are hard to see.

This change uses the standard Matplotlib color palette for the classes, shifted by 1.
@FlorinAndrei
Copy link
Author

To make it clear, this happens when using a custom style plt.style.use('seaborn-v0_8-whitegrid')

The change forces colors to be the same (drawn from the default palette) no matter what style you use.

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

Successfully merging this pull request may close these issues.

None yet

1 participant