[Matplotlib-users] equally spaced nice colors?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users