machine_learning_examples
machine_learning_examples copied to clipboard
Update logistic_visualize.py
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.
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.