fill without label


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?




Sneak preview the all-new It’s not radically different. Just radically better.