Changeset 4b796b8 in sasview for src


Ignore:
Timestamp:
Mar 26, 2019 5:41:38 AM (6 years ago)
Author:
awashington
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
f7e6b30
Parents:
0ffdf6e
Message:

Add navigation toolbars to corfunc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    r0ffdf6e r4b796b8  
    77from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg \ 
    88    as FigureCanvas 
     9from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT 
    910from matplotlib.figure import Figure 
    1011from numpy.linalg.linalg import LinAlgError 
     
    125126        self._canvas = MyMplCanvas(self.model) 
    126127        self.plotLayout.insertWidget(0, self._canvas) 
     128        self.plotLayout.insertWidget(1, NavigationToolbar2QT(self._canvas, self)) 
    127129        self._realplot = MyMplCanvas(self.model) 
    128         self.plotLayout.insertWidget(1, self._realplot) 
     130        self.plotLayout.insertWidget(2, self._realplot) 
     131        self.plotLayout.insertWidget(3, NavigationToolbar2QT(self._realplot, self)) 
    129132 
    130133        self.gridLayout_8.setColumnStretch(0, 1) 
Note: See TracChangeset for help on using the changeset viewer.