|
From: <pki...@us...> - 2008-07-26 19:22:47
|
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.
|