[Matplotlib-users] equally spaced nice colors?

Neal Becker ndbecker2 at gmail.com
Fri Feb 22 08:01:59 EST 2019

I'm currently using seaborn to get equally spaced nice colors:

        import seaborn as sns
        colors = np.array(sns.color_palette("hls", len (solution)))

Now that mpl has all new improved color models, do I still need to use sns 
or can I easily do something similar with mpl directly?

More information about the Matplotlib-users mailing list