Re: [matplotlib-devel] SystemError exception calling agg's draw_path_collection()

2015-02-08 Thread Benjamin Root
I think I figured it out... the linestyles are a list of tuples. When they get coerced to a numpy array, and then coerced back to a list, you get a list of lists instead of a list of tuples! There must be some code deep down in the agg that is expecting a tuple, and choking on a list. Ben Root O

[matplotlib-devel] SystemError exception calling agg's draw_path_collection()

2015-02-08 Thread Benjamin Root
I am experimenting with my idea for utilizing a _draworder attribute in Collection objects. Since not everything in a collection is guaranteed to be the same length or even be numpy arrays, I have to add some logic to coerce everything to numpy arrays and tile their data so that the length of their