> If I'm right, then the assertion in bar() is misformed.
I'd suggest the following. Works for me, anyway. :-)
if yerr is not None: assert (len(yerr)==nbars or (len(yerr)==2
and len(yerr[0])==len(yerr[1])==nbars)), 'bar() argument \'yerr\' must
be len(%s) (or a pair of such) or scalar' %
John et al,
I get this error, suggesting that yerr in bar() is not allowed to have
the same format as yerr in errorbar()
<<
if yerr is not None: assert len(yerr)==nbars, 'bar() argument \'yerr\'
must be len(%s) or scalar' % lenarg
>>
So this works:
pylab.errorbar(xrange(5), [2,5,3,4,7], yerr=[[
> "Charles" == Charles R Twardy <[EMAIL PROTECTED]> writes:
Charles> Hi folks, It seems that 'bar' no longer supports
Charles> asymmetric errorbars. Am I meant to call both 'bar' and
Charles> 'errorbar' if I want asymmetric errorbars on my
Charles> histograms? Is there a cano
Hi folks,
It seems that 'bar' no longer supports asymmetric errorbars.
Am I meant to call both 'bar' and 'errorbar' if I want asymmetric
errorbars on my histograms?
Is there a canonical idiom?
Sorry if I missed a previous answer to this.
-C
--
Charles R. Twardy
---