Re: [Matplotlib-users] Quiver not respecting hold state

2008-06-11 Thread Eric Firing
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(

[Matplotlib-users] Quiver not respecting hold

2008-06-11 Thread Marshall Tappen
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()

[Matplotlib-users] Quiver not respecting hold state

2008-06-11 Thread Marshall Tappen
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_