Revision: 5421
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5421&view=rev
Author: efiring
Date: 2008-06-07 18:50:33 -0700 (Sat, 07 Jun 2008)
Log Message:
-----------
Fix bug in handling "close" option of Axes.fill
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2008-06-08 01:49:09 UTC (rev
5420)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2008-06-08 01:50:33 UTC (rev
5421)
@@ -353,7 +353,7 @@
if self.command == 'plot':
func = makeline
else:
- closed = kwargs.pop("closed")
+ closed = kwargs.get('closed', True)
func = makefill
if multicol:
for j in range(y.shape[1]):
@@ -399,7 +399,7 @@
if self.command == 'plot':
func = makeline
else:
- closed = kwargs.pop('closed')
+ closed = kwargs.get('closed', True)
func = makefill
if multicol:
@@ -5812,7 +5812,7 @@
self.set_xscale('log')
elif orientation == 'vertical':
self.set_yscale('log')
-
+
fill = False
if histtype == 'stepfilled':
fill = True
@@ -5825,10 +5825,10 @@
x,y = y,x
elif orientation != 'vertical':
raise ValueError, 'invalid orientation: %s' % orientation
-
+
color = self._get_lines._get_next_cycle_color()
if fill:
- patches.append( self.fill(x, y,
+ patches.append( self.fill(x, y,
closed=False, facecolor=color) )
else:
patches.append( self.fill(x, y,
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins