Revision: 7139 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7139&view=rev Author: efiring Date: 2009-05-25 00:16:44 +0000 (Mon, 25 May 2009)
Log Message: ----------- Improved version of previous commit: bug fix in Arc Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/patches.py Modified: trunk/matplotlib/lib/matplotlib/patches.py =================================================================== --- trunk/matplotlib/lib/matplotlib/patches.py 2009-05-25 00:00:46 UTC (rev 7138) +++ trunk/matplotlib/lib/matplotlib/patches.py 2009-05-25 00:16:44 UTC (rev 7139) @@ -1189,10 +1189,9 @@ %(Patch)s """ - fill = kwargs.get('fill') # returns None if key is absent + fill = kwargs.setdefault('fill', False) if fill: raise ValueError("Arc objects can not be filled") - kwargs['fill'] = False Ellipse.__init__(self, xy, width, height, angle, **kwargs) 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