[Matplotlib-users] Legends in single colour

Jeff Blackburne jblackburne at gmail.com
Thu May 17 12:36:40 EDT 2018


Take a look at the legend guide
https://matplotlib.org/users/legend_guide.html
especially proxy artists
https://matplotlib.org/users/legend_guide.html#creating-artists-specifically-for-adding-to-the-legend-aka-proxy-artists

Hope that helps

On Thu, May 17, 2018 at 7:06 AM, Kesavan Subburam <pskeshu at gmail.com> wrote:

> Hi everyone,
>
> I'm writing on behalf of a friend who would like to plot his scatter plot
> markers in different colours and shapes, but the legends should only
> indicate shape but no colours, essentially single colour legends.
>
> Any ideas?
>
>
> _______________________________________________
> 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/20180517/38a1c503/attachment.html>


More information about the Matplotlib-users mailing list