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.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to