Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf8769a

Browse files
committed
removed Qt4's NavigationToolbar2.destroy method
svn path=/branches/v0_91_maint/; revision=5700
1 parent 4af4116 commit bf8769a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2008-06-30 Removed Qt4 NavigationToolbar2.destroy -- it appears to
2+
have been unnecessary and caused a bug reported by P.
3+
Raybaut - DSD
4+
15
2008-06-26 Fix mathtext bug for expressions like $x_{\leftarrow}$ - MGD
26

37
2008-06-26 Fix direction of horizontal/vertical hatches - MGD

lib/matplotlib/backends/backend_qt4.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,6 @@ def _init_toolbar( self ):
340340
# reference holder for subplots_adjust window
341341
self.adj_window = None
342342

343-
def destroy( self ):
344-
for text, tooltip_text, image_file, callback in self.toolitems:
345-
if text is not None:
346-
QtCore.QObject.disconnect( self.buttons[ text ],
347-
QtCore.SIGNAL( 'clicked()' ),
348-
getattr( self, callback ) )
349-
350343
def dynamic_update( self ):
351344
self.canvas.draw()
352345

0 commit comments

Comments
 (0)