Hi,

Does anyone know how to use the fill command without a label appearing in the legend box?

I have something like this:

 plot(x, y, label = 'label1')
 fill(fx, fy)
 legend(loc = 'best')

I thought this might work:

 fill(fx, fy, label = None)

but I get this error instead:

 raise TypeError('text must be a string type')
TypeError: text must be a string type


Any suggestions?

thanks,

a


Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to