On Nov 14, 2008, at 9:59 AM, Michael Droettboom wrote: > Paul Kienzle wrote: >> Hi, >> >> We found we needed to draw a partial ring, but didn't see one in >> patches.py. >> >> Attached is a generalization of Wedge to accept an inner and an >> outer radius. >> >> Should I add this to patches? > Looks like a useful feature to me. Could be used for doing these > sort of "hierarchical pie chart" graphs: > > http://linux.byexamples.com/wp-content/uploads/2007/04/baobab.png
That's pretty, though I have no idea what it is supposed to represent. > > Any reason not to implement this simply as an additional kwarg to > Wedge, rather than a new class -- since Ring with a r2 == 0 is > equivalent to Wedge anyway? Just thinking of having less code to > maintain...but maybe that's more confusing for end users. Okay, I will replace Wedge on svn. - Paul ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel