| 
     
      
      
      From: David E. <hal...@gm...> - 2013-01-23 00:47:42
      
     
   | 
On Tue, Jan 22, 2013 at 1:20 PM, Benjamin Root <ben...@ou...> wrote: > > > On Tue, Jan 22, 2013 at 1:57 PM, David Erickson <hal...@gm...> > wrote: >> >> Hello- >> Prior to version 1.2 of MPL I was able to hide labels for certain >> lines in the legend by setting the label=None when plotting a line, >> however in 1.2 it is now showing the legend entry and visibly printing >> "None". Is there a workaround to hide the label? >> >> Thanks, >> David >> > > I think you want "_nolegend_" for those labels. The hiding of the labels > for None was an undocumented feature, I think, and has been "fixed". > > http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.legend > Perfect, thanks Ben! -David  |