Revision: 7138
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7138&view=rev
Author:   efiring
Date:     2009-05-25 00:00:46 +0000 (Mon, 25 May 2009)

Log Message:
-----------
Fix bug in Arc handling of fill kwarg; thanks to Tony Yu

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

Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py  2009-05-23 14:31:14 UTC (rev 
7137)
+++ trunk/matplotlib/lib/matplotlib/patches.py  2009-05-25 00:00:46 UTC (rev 
7138)
@@ -1189,7 +1189,7 @@
 
         %(Patch)s
         """
-        fill = kwargs.pop('fill')
+        fill = kwargs.get('fill')  # returns None if key is absent
         if fill:
             raise ValueError("Arc objects can not be filled")
         kwargs['fill'] = False


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to