Legends in single colour

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180517/e40e75c4/attachment.html>

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
Matplotlib-users Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180517/38a1c503/attachment.html&gt;