This enhancement proposes adding native support for multi-color lines in the legend of line (and other styles!) plots in Matplotlib. This feature will allow users to represent data series with ...
When setting a color in rcParams for lines.markeredgecolor this color is used for the errorbar caps when plotting with errorbar. No option is able to override this color again.