Revision: 5046
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5046&view=rev
Author:   dsdale
Date:     2008-04-18 08:20:03 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
dont remove repaint/update from draw(), or updates to the figure after 
the initial draw will be ignored. We need a different solution for the 
double drawing problem reported for the Wx and Qt* backends

Modified Paths:
--------------
    branches/v0_91_maint/lib/matplotlib/backends/backend_qt4agg.py
    branches/v0_91_maint/lib/matplotlib/backends/backend_qtagg.py

Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_qt4agg.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_qt4agg.py      
2008-04-18 08:18:34 UTC (rev 5045)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_qt4agg.py      
2008-04-18 15:20:03 UTC (rev 5046)
@@ -129,6 +129,7 @@
         if DEBUG: print "FigureCanvasQtAgg.draw", self
         self.replot = True
         FigureCanvasAgg.draw(self)
+        self.update()
 
     def blit(self, bbox=None):
         """

Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_qtagg.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_qtagg.py       
2008-04-18 08:18:34 UTC (rev 5045)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_qtagg.py       
2008-04-18 15:20:03 UTC (rev 5046)
@@ -135,6 +135,7 @@
         if DEBUG: print "FigureCanvasQtAgg.draw", self
         self.replot = True
         FigureCanvasAgg.draw(self)
+        self.repaint(False)
 
     def blit(self, bbox=None):
         """


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to