|
From: <ef...@us...> - 2010-10-03 21:04:16
|
Revision: 8724
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8724&view=rev
Author: efiring
Date: 2010-10-03 21:04:10 +0000 (Sun, 03 Oct 2010)
Log Message:
-----------
errorbar bugfix: plot everything regardless of the Axes hold state
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/axes.py
Modified: branches/v1_0_maint/lib/matplotlib/axes.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/axes.py 2010-10-03 20:45:38 UTC (rev 8723)
+++ branches/v1_0_maint/lib/matplotlib/axes.py 2010-10-03 21:04:10 UTC (rev 8724)
@@ -5065,7 +5065,7 @@
type as *xerr* and *yerr*.
All other keyword arguments are passed on to the plot command for the
- markers, For example, this code makes big red squares with
+ markers. For example, this code makes big red squares with
thick green edges::
x,y,yerr = rand(3,10)
@@ -5099,6 +5099,8 @@
self._process_unit_info(xdata=x, ydata=y, kwargs=kwargs)
if not self._hold: self.cla()
+ holdstate = self._hold
+ self._hold = True
# make sure all the args are iterable; use lists not arrays to
# preserve units
@@ -5271,6 +5273,7 @@
l.set_color(ecolor)
self.autoscale_view()
+ self._hold = holdstate
return (l0, caplines, barcols)
def boxplot(self, x, notch=0, sym='b+', vert=1, whis=1.5,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|