John Hunter wrote: > On 4/7/07, Eric Firing <[EMAIL PROTECTED]> wrote: > >> I put back get_lines() in collections and fixed a related bug in legend, >> so the test script now works in the sense that it makes a legend. It >> puts in an unlabeled line, presumably corresponding to the line >> collection making up the error bars. Maybe legend provides a way to >> avoid this. I haven't looked. > > If I'm understanding the problem you are describing correctly, it > looks like _nolegend_ needs to be set here. For artists we do not want > to be included in the legend, the label should be set to '_nolegend_' > and legend will ignore it in auto-legending. Or at least it should > and if it is not it is a bug.
I have made more changes in svn to fix this bug. The collection initializers, vlines, and hlines lacked label support, so I added it. errorbar() was already trying to set the line collection label to _nolegend_, but it was not getting passed on down the line. Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users