Marshall, You are right--there is a line of boilerplate that I left out of quiver, contour, and contourf. At the very top of each of these methods in axes.py there should be the line
if not self._hold: self.cla() You can either add the line to your axes.py, or just do the manual pylab cla() before each call to quiver in your script. Eric Marshall Tappen wrote: > Hello, > > I'm having problems making quiver respect the hold state of the plot > For example, running this code: > > from pylab import * > > def quiver_test(): > x,y=mgrid[-10:10,-10:10] > > u=2*x; > v=2*y; > hold(False) > quiver(x,y,u,v,hold=False) > quiver(x,y,u,u,hold=False) > draw() > > quiver_test() > > Two sets of quiver plots appear. I'm using the packages from Ubuntu > Hardy in ipython, but I didn't see anything in the changelog for > 0.91.3 relating to quiver. > > Any suggestions for fixing this behavior would be greatly appreciated. > > Thanks, > > Marshall > > ------------------------------------------------------------------------- > 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-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------- 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-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users