i can't make a legend for a fill_between and don't understand what i'm doing
wrong.  the following code seems like the most obvious way to make a legend
for a fill_between, but does do what i expect.  the code plots, but
complains that "No labeled objects found."  any help would be much
appreciated.

from pylab import fill_between, legend, show
a = [0,1,2,4,5]
b = [1,1,1,1,1]
c = [0,1,2,4,5]
fill_between(a,b,c,label='hi')
legend()
show() 
-- 
View this message in context: 
http://www.nabble.com/legends-with-fill_between-tp22816609p22816609.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to