Friedrich,> I seem to experiencing a bug when doing bar charts and
Friedrich,> display a legend. I'm calling the figlegend properly
Friedrich,> I think with a reference to the objects returned from
Friedrich,> the bar() calls. The problem is both color patches in
Friedrich,> the legend appear orange. Any ideas? I'm using
Friedrich,> matplotlib0.87.7, Python2.5, and Numpy 1.0.
bar_wait and bar_cpu are both lists of Rectangles, so the legend is
consuming bar_wait before it gets to bar_cpu. Try passing the first
element of both:
figlegend( (bar_wait[0], bar_cpu[0]), ("Wait", "CPU"), "upper right", shadow=True)
JDH