legend bug

Hi - By passing the list of lines, the problem is solved, thanks! It
is the case though that the intelligent guess does fail when you do an
'errorbar plot' sequence but not when you do a 'plot errorbar'
sequence. In this first case, the legend associated with the 'plot'
is always a straight black line no matter what the requested format.

Thanks for the help,

ps. am using matplotlib-0.60.1