From: <ef...@us...> - 2008-06-12 18:05:19
|
Revision: 5489 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5489&view=rev Author: efiring Date: 2008-06-12 11:05:16 -0700 (Thu, 12 Jun 2008) Log Message: ----------- Merged revisions 5488 via svnmerge from https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_91_maint ........ r5488 | efiring | 2008-06-12 08:02:18 -1000 (Thu, 12 Jun 2008) | 2 lines Support hold in quiver, contour, contourf ........ Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Property Changed: ---------------- trunk/matplotlib/ Property changes on: trunk/matplotlib ___________________________________________________________________ Name: svnmerge-integrated - /branches/v0_91_maint:1-5443 + /branches/v0_91_maint:1-5443,5488 Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-06-12 18:02:18 UTC (rev 5488) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-06-12 18:05:16 UTC (rev 5489) @@ -4921,6 +4921,7 @@ quiverkey.__doc__ = mquiver.QuiverKey.quiverkey_doc def quiver(self, *args, **kw): + if not self._hold: self.cla() q = mquiver.Quiver(self, *args, **kw) self.add_collection(q, False) self.update_datalim(q.XY) @@ -5578,11 +5579,13 @@ return ret def contour(self, *args, **kwargs): + if not self._hold: self.cla() kwargs['filled'] = False return mcontour.ContourSet(self, *args, **kwargs) contour.__doc__ = mcontour.ContourSet.contour_doc def contourf(self, *args, **kwargs): + if not self._hold: self.cla() kwargs['filled'] = True return mcontour.ContourSet(self, *args, **kwargs) contourf.__doc__ = mcontour.ContourSet.contour_doc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |