On Tue, Jan 22, 2013 at 1:20 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>
>
> On Tue, Jan 22, 2013 at 1:57 PM, David Erickson <halcyon1...@gmail.com>
> 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

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to