>>>>> "Friedrich," == Friedrich, Robin K <[EMAIL PROTECTED]> writes:

    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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to