errorbar problem

import numpy
import pylab

x = y = ybar = numpy.arange(0, 10)
errorbar(x, y, ybar)
errorbar(x, 2 * y, 0.5 * ybar)
legend(["hi" , "hi2"], loc=0)

That gave a AttributeError: LineCollection instance has no attribute
'get_lines'.

I'm running matplotlib on Debian Lenny. Thanks a lot.

Manu Hack wrote:

import numpy
import pylab

x = y = ybar = numpy.arange(0, 10)
errorbar(x, y, ybar)
errorbar(x, 2 * y, 0.5 * ybar)
legend(["hi" , "hi2"], loc=0)

That gave a AttributeError: LineCollection instance has no attribute
'get_lines'.

This was fixed in svn. I don't recall exactly when.

Eric

ยทยทยท

I'm running matplotlib on Debian Lenny. Thanks a lot.