Currently, Arc in matplotlib.patches requires that it be called with  
kwarg ``fill=False``. Was this behavior intentional? The code suggests  
that a default value was left out of the kwarg lookup.

I've attached a simple patch to fix this (it still fails when fill set  
to True).

Cheers,
-Tony

Index: lib/matplotlib/patches.py
===================================================================
--- lib/matplotlib/patches.py   (revision 7137)
+++ lib/matplotlib/patches.py   (working copy)
@@ -1189,7 +1189,7 @@

          %(Patch)s
          """
-        fill = kwargs.pop('fill')
+        fill = kwargs.pop('fill', False)
          if fill:
              raise ValueError("Arc objects can not be filled")
          kwargs['fill'] = False


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

Reply via email to