On Wed, Jan 12, 2011 at 3:30 PM, Daniel Mader <danielstefanmader@googlemail.com> wrote:
Dear Ben,

in your example, the stacking works but the polygons are wrong, or am
I mistaken?

Attached is the plot which is generated by your code.

And, you don't have to thank me---it's me who is grateful for the support here!

Best regards,
Daniel


Oops, I forgot that I am testing out a possible patch for the spurious polygon that goes over to (0, 0).
I believe that if you just simply add the first coordinate of each polygon to the end of each one (so there are five pairs) and adding the keyword argument "closed=False" to the PolyCollection constructor should resolve that issue for now.

Thanks for using Matplotlib and helping to make it better.
Ben Root