Revision: 5609
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5609&view=rev
Author:   mmetz_bn
Date:     2008-06-20 04:58:01 -0700 (Fri, 20 Jun 2008)

Log Message:
-----------
Oops: bug fixed Polygon set_closed

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/patches.py

Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py  2008-06-20 11:54:55 UTC (rev 
5608)
+++ trunk/matplotlib/lib/matplotlib/patches.py  2008-06-20 11:58:01 UTC (rev 
5609)
@@ -577,7 +577,7 @@
                 xy = np.concatenate([xy, [xy[0]]])
         else:
             if len(xy)>2 and (xy[0]==xy[-1]).all():
-                xy = xy[0:-2]
+                xy = xy[0:-1]
         self._set_xy(xy)
 
     def _get_xy(self):


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
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to