From: <ga...@em...> - 2004-08-18 02:12:59
|
Hi Danny, I think I know what's going on here - The rendering of bar-ends was chang= ed at one point to use tick line markers instead of being rendered as par= t of the line. I had seen the behaviour you describe at one point, but fo= r some reason (brain failure!) had convinced myself later that the behavi= our had remedied itslef somehow. I didn't understand this at the time, bu= t I should have put the effort in because it's crept through and you've t= ripped over it. The solution is to revert the bar-end rendering to the wa= y it used to be done. I don't know if you can fix this without touching t= he Matplotlib source since I suspect the line markers reference isn't bei= ng 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, regards, Gary Ruben ----- Original Message ----- From: danny shevitz <dan...@ya...> Date: Tue, 17 Aug 2004 09:38:40 -0700 (PDT) To: matplotlib <mat...@li...> Subject: [Matplotlib-users] errorbar cap color > howdy,=20 > 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.=20 >=20 > 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 > explicitly? >=20 > TIA, > Danny --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |