From: <jr...@us...> - 2008-04-07 22:25:41
|
Revision: 5031 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5031&view=rev Author: jrevans Date: 2008-04-07 15:25:37 -0700 (Mon, 07 Apr 2008) Log Message: ----------- Edited so that a double draw does not occur. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py 2008-04-07 18:48:02 UTC (rev 5030) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py 2008-04-07 22:25:37 UTC (rev 5031) @@ -130,7 +130,7 @@ if DEBUG: print "FigureCanvasQtAgg.draw", self self.replot = True - self.update() + FigureCanvasAgg.draw(self) def blit(self, bbox=None): """ Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py 2008-04-07 18:48:02 UTC (rev 5030) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py 2008-04-07 22:25:37 UTC (rev 5031) @@ -135,7 +135,7 @@ if DEBUG: print "FigureCanvasQtAgg.draw", self self.replot = True - self.repaint( False ) + FigureCanvasAgg.draw(self) def blit(self, bbox=None): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |