[Matplotlib-users] equally spaced nice colors?

Hannah story645 at gmail.com
Mon Apr 1 16:02:48 EDT 2019

You should be able to use the tab10/tab20 etc. colormaps directly, if
that's a similar palette:

On Fri, Feb 22, 2019 at 8:08 AM Neal Becker <ndbecker2 at gmail.com> wrote:

> 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?
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190401/5a2b3502/attachment.html>

More information about the Matplotlib-users mailing list