Revision: 5002
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5002&view=rev
Author: dsdale
Date: 2008-03-14 05:22:28 -0700 (Fri, 14 Mar 2008)
Log Message:
-----------
removed an unnecessary call to FigureCanvasAgg.draw in the
qt*agg backends
Modified Paths:
--------------
trunk/matplotlib/CHANGELOG
trunk/matplotlib/examples/embedding_in_wx.py
trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py
trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py
Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG 2008-03-13 16:27:17 UTC (rev 5001)
+++ trunk/matplotlib/CHANGELOG 2008-03-14 12:22:28 UTC (rev 5002)
@@ -1,3 +1,7 @@
+2008-03-14 Removed an apparently unnecessary call to
+ FigureCanvasAgg.draw in backend_qt*agg. Thanks to Ted
+ Drain - DSD
+
2008-03-10 Workaround a bug in backend_qt4agg's blitting due to a
buffer width/bbox width mismatch in _backend_agg's
copy_from_bbox - DSD
Modified: trunk/matplotlib/examples/embedding_in_wx.py
===================================================================
--- trunk/matplotlib/examples/embedding_in_wx.py 2008-03-13 16:27:17 UTC
(rev 5001)
+++ trunk/matplotlib/examples/embedding_in_wx.py 2008-03-14 12:22:28 UTC
(rev 5002)
@@ -37,8 +37,6 @@
figure resizable or not.
"""
-import matplotlib
-matplotlib.use('WX')
from matplotlib.backends.backend_wx import Toolbar, FigureCanvasWx,\
FigureManager
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py 2008-03-13
16:27:17 UTC (rev 5001)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4agg.py 2008-03-14
12:22:28 UTC (rev 5002)
@@ -130,7 +130,6 @@
if DEBUG: print "FigureCanvasQtAgg.draw", self
self.replot = True
- FigureCanvasAgg.draw(self)
self.update()
def blit(self, bbox=None):
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py 2008-03-13
16:27:17 UTC (rev 5001)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_qtagg.py 2008-03-14
12:22:28 UTC (rev 5002)
@@ -135,7 +135,6 @@
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins