Changeset 84fa015 in sasview for src/sas/qtgui/Perspectives


Ignore:
Timestamp:
Mar 25, 2019 9:01:06 AM (6 years ago)
Author:
awashington
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
8ef789c
Parents:
d215517
git-author:
Adam Washington <rprospero@…> (03/25/19 07:13:34)
git-committer:
Adam Washington <rprospero@…> (03/25/19 09:01:06)
Message:

Actually include real space plot in corfunc

File:
1 edited

Legend:

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

    rd215517 r84fa015  
    118118        self._canvas = MyMplCanvas(self.model) 
    119119        self.mainVerticalLayout.insertWidget(0, self._canvas) 
     120        self._realplot = MyMplCanvas(self.model) 
     121        self.mainVerticalLayout.insertWidget(1, self._realplot) 
    120122 
    121123        # Connect buttons to slots. 
     
    240242        self.model.setItem(W.W_POLY, QtGui.QStandardItem("{:.3g}".format(params['A']))) 
    241243        self.model.setItem(W.W_PERIOD, QtGui.QStandardItem("{:.3g}".format(params['max']))) 
    242         #self._realplot.data = transforms 
     244        self._realplot.data = transforms 
    243245 
    244246        self.update_real_space_plot(transforms) 
    245247 
    246         #self._realplot.draw_real_space() 
     248        self._realplot.draw_real_space() 
    247249 
    248250    def update_real_space_plot(self, datas): 
     
    360362        self.cmdTransform.setEnabled(False) 
    361363 
    362         #self._realplot.data = None 
    363         #self._realplot.draw_real_space() 
     364        self._realplot.data = None 
     365        self._realplot.draw_real_space() 
    364366 
    365367    def setClosable(self, value=True): 
Note: See TracChangeset for help on using the changeset viewer.