Hi devs,
This is a quick report of a bug in 0.90.1 (via debian testing
package). Sorry, I'm not sure if this is still present in svn, and I'm
keen to keep to the debian packages for now, so if it is already fixed
then feel free to ignore.
Bug is repeatably demonstrated by:
import pylab as p, numpy as n
p.figure()
p.errorbar(n.arange(10), n.random.random(10), n.random.random(10))
p.legend()
p.clf()
finishing with
AttributeError: LineCollection instance has no attribute 'get_xdata'
Neither legend or errorbar calls on their own block clf like this.
Cheers,
A.
···
--
AJC McMorland, PhD Student
Physiology, University of Auckland
Angus McMorland wrote:
Hi devs,
This is a quick report of a bug in 0.90.1 (via debian testing
package). Sorry, I'm not sure if this is still present in svn, and I'm
keen to keep to the debian packages for now, so if it is already fixed
then feel free to ignore.
It must have been fixed in svn. I don't see it with the test you provided.
Eric
···
Bug is repeatably demonstrated by:
import pylab as p, numpy as n
p.figure()
p.errorbar(n.arange(10), n.random.random(10), n.random.random(10))
p.legend()
p.clf()
finishing with
AttributeError: LineCollection instance has no attribute 'get_xdata'
Neither legend or errorbar calls on their own block clf like this.
Cheers,
A.