From: <ds...@us...> - 2008-05-05 18:56:41
|
Revision: 5116 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5116&view=rev Author: dsdale Date: 2008-05-05 11:56:38 -0700 (Mon, 05 May 2008) Log Message: ----------- fixed a bug where notify_axes_change was not connected passed to figure.add_axobserver in qt backends Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_qt.py trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2008-05-05 18:54:59 UTC (rev 5115) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2008-05-05 18:56:38 UTC (rev 5116) @@ -238,7 +238,7 @@ def notify_axes_change( fig ): # This will be called whenever the current axes is changed if self.toolbar != None: self.toolbar.update() - self.canvas.figure.add_axobserver( notify_axes_change ) + self.canvas.figure.add_axobserver( notify_axes_change ) def _widgetclosed( self ): if self.window._destroying: return Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-05-05 18:54:59 UTC (rev 5115) +++ trunk/matplotlib/lib/matplotlib/backends/backend_qt4.py 2008-05-05 18:56:38 UTC (rev 5116) @@ -221,7 +221,7 @@ def notify_axes_change( fig ): # This will be called whenever the current axes is changed if self.toolbar != None: self.toolbar.update() - self.canvas.figure.add_axobserver( notify_axes_change ) + self.canvas.figure.add_axobserver( notify_axes_change ) def _widgetclosed( self ): if self.window._destroying: return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |