- Timestamp:
- Mar 25, 2019 9:01:06 AM (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py
rd215517 r84fa015 118 118 self._canvas = MyMplCanvas(self.model) 119 119 self.mainVerticalLayout.insertWidget(0, self._canvas) 120 self._realplot = MyMplCanvas(self.model) 121 self.mainVerticalLayout.insertWidget(1, self._realplot) 120 122 121 123 # Connect buttons to slots. … … 240 242 self.model.setItem(W.W_POLY, QtGui.QStandardItem("{:.3g}".format(params['A']))) 241 243 self.model.setItem(W.W_PERIOD, QtGui.QStandardItem("{:.3g}".format(params['max']))) 242 #self._realplot.data = transforms244 self._realplot.data = transforms 243 245 244 246 self.update_real_space_plot(transforms) 245 247 246 #self._realplot.draw_real_space()248 self._realplot.draw_real_space() 247 249 248 250 def update_real_space_plot(self, datas): … … 360 362 self.cmdTransform.setEnabled(False) 361 363 362 #self._realplot.data = None363 #self._realplot.draw_real_space()364 self._realplot.data = None 365 self._realplot.draw_real_space() 364 366 365 367 def setClosable(self, value=True):
Note: See TracChangeset
for help on using the changeset viewer.