This might be a stupid question, but what is the difference between a
Polygon and  Patch? A Polygon is subclassed from a Patch. The only real
substantial difference I see is that a Polygon object has logic flagging
and ensuring that it has a closed ring, but does that really merit a whole
new class?

What makes things even more confusing is that RegularPolygon and
CirclePolygon are not even subclassed from Polygon.

I wonder if we might want to consider folding in some of Polygon's
functionality into Patch, and simply let Polygon be an alias for Patch
(after all, a polygon is usually what people think of when they really want
a patch).

Just a thought.

Cheers!
Ben Root
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to