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

Skip to content

Commit e49c689

Browse files
committed
removed Qt4's NavigationToolbar2.destroy method
svn path=/trunk/matplotlib/; revision=5699
1 parent 1bf862a commit e49c689

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

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-27 Fixed tick positioning bug - MM
26

37
2008-06-27 Fix dashed text bug where text was at the wrong end of the

lib/matplotlib/backends/backend_qt4.py

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

314-
def destroy( self ):
315-
for text, tooltip_text, image_file, callback in self.toolitems:
316-
if text is not None:
317-
QtCore.QObject.disconnect( self.buttons[ text ],
318-
QtCore.SIGNAL( 'clicked()' ),
319-
getattr( self, callback ) )
320-
321314
def dynamic_update( self ):
322315
self.canvas.draw()
323316

0 commit comments

Comments
 (0)