Revision: 6043
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6043&view=rev
Author:   dsdale
Date:     2008-08-18 21:06:56 +0000 (Mon, 18 Aug 2008)

Log Message:
-----------
improved interactive pan/zoom in qt4agg backend on windows

Modified Paths:
--------------
    trunk/matplotlib/CHANGELOG
    trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py

Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG  2008-08-18 20:18:56 UTC (rev 6042)
+++ trunk/matplotlib/CHANGELOG  2008-08-18 21:06:56 UTC (rev 6043)
@@ -1,3 +1,5 @@
+2008-08-18 improve interactive pan/zoom in qt4 backend on windows - DSD
+
 2008-08-11 Fix more bugs in NaN/inf handling.  In particular, path 
simplification
            (which does not handle NaNs or infs) will be turned off 
automatically
            when infs or NaNs are present.  Also masked arrays are now converted

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py  2008-08-18 
20:18:56 UTC (rev 6042)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py  2008-08-18 
21:06:56 UTC (rev 6043)
@@ -132,6 +132,8 @@
         self.replot = True
         FigureCanvasAgg.draw(self)
         self.update()
+        # Added following line to improve realtime pan/zoom on windows:
+        QtGui.qApp.processEvents()
 
     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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to