Changeset fed94a2 in sasview for src/sas/qtgui/Plotter.py
- Timestamp:
- Jan 9, 2017 1:28:03 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- a66ff280
- Parents:
- 570a58f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotter.py
r570a58f9 rfed94a2 22 22 23 23 self.parent = parent 24 self.addText = AddText(self)25 24 26 25 # Dictionary of {plot_id:Data1d} … … 29 28 # Simple window for data display 30 29 self.txt_widget = QtGui.QTextEdit(None) 31 30 # Window for text add 31 self.addText = AddText(self) 32 33 # Log-ness of the axes 32 34 self.xLogLabel = "log10(x)" 33 35 self.yLogLabel = "log10(y)" … … 39 41 40 42 # Add a slot for receiving update signal from LinearFit 41 # NEW style signals - don't work!43 # NEW style signals 42 44 #self.updatePlot = QtCore.pyqtSignal(tuple) 43 # self.updatePlot.connect(self.updateWithData)44 # OLD style signals - work perfectly45 # self.updatePlot.connect(self.onFitDisplay) 46 # OLD style signals 45 47 QtCore.QObject.connect(self, QtCore.SIGNAL('updatePlot'), self.onFitDisplay) 46 48 … … 68 70 is_fit = (self._data.id=="fit") 69 71 70 # Shortcut for anaxis72 # Shortcut for the current axis 71 73 ax = self.ax 72 74 … … 436 438 self.removePlot(id) 437 439 continue 440 438 441 new_xlabel, new_ylabel, xscale, yscale =\ 439 442 GuiUtils.xyTransform(current_plot, xLabel, yLabel)
Note: See TracChangeset
for help on using the changeset viewer.