[Matplotlib-users] Omitting curves from a legend

2007-04-18 Thread Bill Baxter
On 4/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > There are a couple things about legend that I'm finding a little > > irksome. Is there some better way to do this? > > > > 1) if you have a contour, legend() wants to add all the contours to > > the list. calling contour(

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-18 Thread Eric Firing
Bill Baxter wrote: > There are a couple things about legend that I'm finding a little > irksome. Is there some better way to do this? > > 1) if you have a contour, legend() wants to add all the contours to > the list. calling contour(...,label='_nolegend_') doesn't seem to > help. I think it wo

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-16 Thread Jouni K . Seppänen
"Bill Baxter" <[EMAIL PROTECTED]> writes: > Documentation issue/question: I figured there was probably some way > to set attributes individually using the return value from contour > since contour's docstring helpfully tells me that countour returns a > ContourSet object. However, 'ContourSet?'

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-16 Thread Bill Baxter
Ok. Thanks. I'll give the setp on the ContourSet thing a try. Documentation issue/question: I figured there was probably some way to set attributes individually using the return value from contour since contour's docstring helpfully tells me that countour returns a ContourSet object. However,

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-16 Thread Eric Firing
Maybe I should make _nolegend_ the default for contour and contourf collections? Eric John Hunter wrote: > On 4/13/07, Bill Baxter <[EMAIL PROTECTED]> wrote: >> There are a couple things about legend that I'm finding a little >> irksome. Is there some better way to do this? >> >> 1) if you have

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-16 Thread John Hunter
On 4/13/07, Bill Baxter <[EMAIL PROTECTED]> wrote: > There are a couple things about legend that I'm finding a little > irksome. Is there some better way to do this? > > 1) if you have a contour, legend() wants to add all the contours to > the list. calling contour(...,label='_nolegend_') doesn't

[Matplotlib-users] Omitting curves from a legend

2007-04-13 Thread Bill Baxter
There are a couple things about legend that I'm finding a little irksome. Is there some better way to do this? 1) if you have a contour, legend() wants to add all the contours to the list. calling contour(...,label='_nolegend_') doesn't seem to help. I'm trying to plot a bunch of different type