Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/PlotterBase.py

    r8fad50b rb016f17  
    111111        self.contextMenu = QtWidgets.QMenu(self) 
    112112        self.toolbar = NavigationToolbar(self.canvas, self) 
     113        cid = self.canvas.mpl_connect('resize_event', self.onResize) 
     114 
    113115        layout.addWidget(self.toolbar) 
    114116        if not quickplot: 
     
    244246        raise NotImplementedError("Context menu method must be implemented in derived class.") 
    245247 
     248    def onResize(self, event): 
     249        """ 
     250        Redefine default resize event 
     251        """ 
     252        pass 
     253 
    246254    def contextMenuEvent(self, event): 
    247255        """ 
Note: See TracChangeset for help on using the changeset viewer.