[Matplotlib-users] grouping in a legend

Slavin, Jonathan jslavin at cfa.harvard.edu
Tue May 17 14:55:29 EDT 2016


Hi,

I'm wondering if there's any way to group several items (i.e. handles) in a
legend with a single label.  Ideally I'd like to use something like a curly
brace in the way one can in LaTeX using \right{.  The use case is where you
have several curves that share some characteristic and others that are
different.
This could be pushing legend beyond its limits.  And of course I could just
repeat the same label several times, but I thought I'd ask if anyone had
come up with some clever way of doing this.

Regards,
Jon

-- 
________________________________________________________
Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160517/3d3d6dad/attachment.html>


More information about the Matplotlib-users mailing list