Re: [Matplotlib-users] How to remove the border around legend ?

2008-02-28 Thread yves frederix
On Thu, Feb 28, 2008 at 9:33 AM, darckense <[EMAIL PROTECTED]> wrote: > Hello all, > > When you create a graph with a legend using legend(), is there a way to > remove > the black border drawn around the legend ? I asked the same question some time ago. The trick is setting the linewidth to zer

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 -

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

2007-09-18 Thread yves frederix
Hi all, I was wondering if it is possible to change the line width of the border around a legend. For a standard sized figure the default value is ok, but when creating the figures directly at the correct size for use in a document (=smaller), the lines are too wide. Also, if there is a way of cre