Re: [Matplotlib-users] Change the line width of a legend

2007-09-18 Thread Jouni K . Seppänen
yves frederix [EMAIL PROTECTED] 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

Re: [Matplotlib-users] Change the line width of a legend

2007-09-18 Thread yves frederix
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