From: <md...@us...> - 2008-06-17 15:09:54
|
Revision: 5576 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5576&view=rev Author: mdboom Date: 2008-06-17 08:09:09 -0700 (Tue, 17 Jun 2008) Log Message: ----------- Hopefully got to_polygons correct now. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/path.py Modified: trunk/matplotlib/lib/matplotlib/path.py =================================================================== --- trunk/matplotlib/lib/matplotlib/path.py 2008-06-17 15:06:29 UTC (rev 5575) +++ trunk/matplotlib/lib/matplotlib/path.py 2008-06-17 15:09:09 UTC (rev 5576) @@ -301,7 +301,7 @@ if transform is not None: transform = transform.frozen() - if self.codes is None and width == 0 or height == 0: + if self.codes is None and (width == 0 or height == 0): if transform is None: return [self.vertices] else: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |