Re: [matplotlib-devel] Plot with no labels

2007-07-21 Thread John Hunter
On 7/21/07, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > 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. Have you read "The Purloined Letter" by Edgar Allen Poe? The basic story is that a man is in possession of

Re: [matplotlib-devel] Plot with no labels

2007-07-21 Thread Gael Varoquaux
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 >

Re: [matplotlib-devel] Plot with no labels

2007-07-20 Thread John Hunter
On 7/20/07, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > This question really belongs to the user ML, but I don't want to > subscribe to another ML, so please, indulge me. > > I often have a figure with a lot of plot, some of them created in a for > loop. I want some of them to display in the legend

[matplotlib-devel] Plot with no labels

2007-07-20 Thread Gael Varoquaux
This question really belongs to the user ML, but I don't want to subscribe to another ML, so please, indulge me. I often have a figure with a lot of plot, some of them created in a for loop. I want some of them to display in the legend, and some of them not to. Now this is possible, using the two