|
From: <ef...@us...> - 2009-05-25 01:22:24
|
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.
|