Legend for a single line

Hello,

I am experimenting with legends in Matplotlib 0.64 on WinXP.
I notice that when plotting at least two lines, the legend text appears horizontally, as expected, e.g. as in:

>>> plot( [1,2,3], [4,5,6], [1,2,3], [-1,-3,-1] )
>>> legend( ( 'line1', 'line2' ), 'lower right' )
>>> show()

However, if I plot only one line, the legend appears vertically:

>>> plot( [1,2,3], [4,5,6] )
>>> legend( ( 'line1' ), 'lower right' )
>>> show()

Finally,

>>> plot( [1,2,3], [4,5,6] )
>>> legend( ( 'line1', ), 'lower right' )
>>> show()

(note the comma after 'line1') produces the horizontal text.

This isn't a big deal, but I am not sure where in legend.py I should fix that.

Thanks,
Dominique