From: <ds...@us...> - 2008-03-24 12:58:53
|
Revision: 5020 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5020&view=rev Author: dsdale Date: 2008-03-24 05:58:47 -0700 (Mon, 24 Mar 2008) Log Message: ----------- removed an unnecessary call to draw in the qt backends mouseReleaseEvent Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/backends/backend_qt.py trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-03-23 17:47:51 UTC (rev 5019) +++ trunk/matplotlib/CHANGELOG 2008-03-24 12:58:47 UTC (rev 5020) @@ -1,3 +1,6 @@ +2008-03-24 Removed an unnecessary call to draw() in the backend_qt* + mouseReleaseEvent. Thanks to Ted Drain - DSD + 2008-03-23 Fix a pdf backend bug which sometimes caused the outermost gsave to not be balanced with a grestore. - JKS Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2008-03-23 17:47:51 UTC (rev 5019) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2008-03-24 12:58:47 UTC (rev 5020) @@ -121,7 +121,6 @@ button = self.buttond[event.button()] FigureCanvasBase.button_release_event( self, x, y, button ) if DEBUG: print 'button released' - self.draw() def keyPressEvent( self, event ): key = self._get_key( event ) Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-03-23 17:47:51 UTC (rev 5019) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-03-24 12:58:47 UTC (rev 5020) @@ -120,7 +120,6 @@ button = self.buttond[event.button()] FigureCanvasBase.button_release_event( self, x, y, button ) if DEBUG: print 'button released' - self.draw() def keyPressEvent( self, event ): key = self._get_key( event ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |