From: <md...@us...> - 2007-10-16 14:41:37
|
Revision: 3957 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3957&view=rev Author: mdboom Date: 2007-10-16 07:41:29 -0700 (Tue, 16 Oct 2007) Log Message: ----------- Fixing mistake in last merge Modified Paths: -------------- branches/transforms/lib/matplotlib/patches.py Modified: branches/transforms/lib/matplotlib/patches.py =================================================================== --- branches/transforms/lib/matplotlib/patches.py 2007-10-16 14:35:12 UTC (rev 3956) +++ branches/transforms/lib/matplotlib/patches.py 2007-10-16 14:41:29 UTC (rev 3957) @@ -771,32 +771,6 @@ """ A scale-free ellipse """ - offset = 4.0 * (npy.sqrt(2) - 1) / 3.0 - - circle = npy.array([ - [-1.0, 0.0], - - [-1.0, offset], - [-offset, 1.0], - [0.0, 1.0], - - [offset, 1.0], - [1.0, offset], - [1.0, 0.0], - - [1.0, -offset], - [offset, -1.0], - [0.0, -1.0], - - [-offset, -1.0], - [-1.0, -offset], - [-1.0, 0.0], - - [-1.0, 0.0] - ], - npy.float_) - - def __str__(self): return "Ellipse(%d,%d;%dx%d)"%(self.center[0],self.center[1],self.width,self.height) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |