I think I know what's going on here - The rendering of bar-ends was changed at one point to use tick line markers instead of being rendered as part of the line. I had seen the behaviour you describe at one point, but for some reason (brain failure!) had convinced myself later that the behaviour had remedied itslef somehow. I didn't understand this at the time, but I should have put the effort in because it's crept through and you've tripped over it. The solution is to revert the bar-end rendering to the way it used to be done. I don't know if you can fix this without touching the Matplotlib source since I suspect the line markers reference isn't being returned. I can't look at this for a day or more, so either be patient and I'll post the fix to this list, or maybe John Hunter will get to it first,
----- Original Message -----
From: danny shevitz <danny_shevitz@...9...>
Date: Tue, 17 Aug 2004 09:38:40 -0700 (PDT)
To: matplotlib <firstname.lastname@example.org>
Subject: [Matplotlib-users] errorbar cap color
I'm doing an errorbar plot. The cap colors are always black, even when
ecolor is explicitly set. The documentation states that the second
argument returned by errorbar is a list of "error bar lines". I looked
at the return value and it appears to be a list of 3-tuples of Line2D
instances. I presume each 3-tuple is the errorbar, and the two endcaps.
If I explicitly set the color of the whole erno collection, only the
errorbar color is changed not the cap color. I can't find any "errorbar
Line2D" class or documentation to that effect.
So what am I missing and how do I change errobar cap colors without
doing an explicit loop over the 3-tuples and setting their colors