Hi,
I found an odd problem with "legend". I get the right labels/text but not the "small colour bars" associated to them.
There is something I must do wrong..
Here is a fake example:
···
===========
pa1 = hist(arange(1,100,1), bins=arange(0,100,10))
pa2 = hist(arange(1,100,1), bins=arange(0,100,10))
clf
width = 5 # the width of the bars
p1 = bar(pa1[1], pa1[0], width, color='r')
p2 = bar(pa2[1]+width, pa2[0], width, color='y')
legend([pa1[0], pa2[0]], ["$r_e/5$", "$r_e/2.5$"], shadow=True)
Thanks for any input on this!
Eric