Revision: 5890 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5890&view=rev Author: pkienzle Date: 2008-07-26 19:22:44 +0000 (Sat, 26 Jul 2008)
Log Message: ----------- Fix str() method for Wedge artist Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/patches.py Modified: trunk/matplotlib/lib/matplotlib/patches.py =================================================================== --- trunk/matplotlib/lib/matplotlib/patches.py 2008-07-26 19:19:35 UTC (rev 5889) +++ trunk/matplotlib/lib/matplotlib/patches.py 2008-07-26 19:22:44 UTC (rev 5890) @@ -627,7 +627,7 @@ class Wedge(Patch): def __str__(self): - return "Wedge(%g,%g)"%self.xy[0] + return "Wedge(%g,%g)"%(self.theta1,self.theta2) def __init__(self, center, r, theta1, theta2, **kwargs): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- 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-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins