On Fri, Jul 20, 2007 at 02:55:26PM -0500, John Hunter wrote:
> >From the legend docstring:

> USAGE:

>   Make a legend with existing lines

>   >>> legend()

>   legend by itself will try and build a legend using the label
>   property of the lines/patches/collections.  You can set the label of
>   a line by doing plot(x, y, label='my data') or line.set_label('my
>   data'). If label is set to '_nolegend_', the item will not be shown
>   in legend.

Damn it. I feel so stupid. I looked at that docstring so often, but never
noticed this. It is right in the middle of the docstring.

Thanks for pointing this out to me, I've been doing all sorts of
complicated things to do this, so far.

Gaƫl

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

Reply via email to