Bug? Legend includes bar and cap lines when using errorbar

Hi,

It seems that the Legend command doesnt function properly when using errorbar to plot. It includes extra lines for the errorbars themselves.

I found out this is an old problem that have been fixed before??

http://osdir.com/ml/python.matplotlib.devel/2006-05/msg00038.html

Regards,
Soren