> You want legend((bar1[0],bar2[0]), ('First','Second')). What happened > was that matplotlib made a legend entry for two of the blue bars in > bar1; it would have made six entries, but stopped because you only gave > it two labels. > > Dear Jouni, thanks for all the answers. Gianluca
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users