|
From: <ds...@us...> - 2008-04-18 15:20:19
|
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.
|