From: John H. <jd...@gm...> - 2007-10-31 13:21:41
|
On 10/31/07, Mark Bakker <ma...@gm...> wrote: > This works fine, as apparantly colors='r' is interpreted as a sequence. > This does not work, however: > > ax.add_collection( LineCollection( [[(0,0),(1,1)]], colors='r', linewidths=2 > ) ) > draw() > > Now I get an error: TypeError: CXX: type error. That's not too helpful. This is fixed in svn -- now collection properties should work with a scalar or iterable so if you find more problems, let us know. JDH |