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 zero:

from pylab import *
....
lg = legend()
lg.get_frame().set_linewidth(0)

Maybe there are other ways, but this one works for me.

Cheers,
YVES


>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  _______________________________________________
>  Matplotlib-users mailing list
>  Matplotlib-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to