On 10/31/07, Mark Bakker <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users