Change the line width of a legend

"yves frederix" <yves.frederix@...287...>
writes:

I was wondering if it is possible to change the line width of the
border around a legend.

Yes, e.g.

lg=legend(...)
lg.get_frame().set_linewidth(0.1)

Also, if there is a way of creating the legend without the border at
all, I would be happy to hear about it.

Does setting the line width to zero do what you want?

···

--
Jouni K. Sepp�nen

lg=legend(...)
lg.get_frame().set_linewidth(0.1)

> Also, if there is a way of creating the legend without the border at
> all, I would be happy to hear about it.

Does setting the line width to zero do what you want?

Works like a charm. Thanks!

YVES