Skip to content

Update logistic_visualize.py #89

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

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

Successfully merging this pull request may close these issues.

1 participant