Changeset b4b8589 in sasview for src/sas/qtgui/Plotter2D.py
- Timestamp:
- Dec 8, 2016 5:53:56 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:
- fecfe28
- Parents:
- cad617b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotter2D.py
rcad617b rb4b8589 154 154 155 155 cbax = self.figure.add_axes([0.84, 0.2, 0.02, 0.7]) 156 157 # Current labels for axes 158 self.ax.set_ylabel(self.y_label) 159 self.ax.set_xlabel(self.x_label) 160 161 # Title only for regular charts 162 if not self.quickplot: 163 self.ax.set_title(label=self._title) 164 165 156 166 else: 157 167 # clear the previous 2D from memory … … 166 176 ax = Axes3D(self.figure) 167 177 cbax = self.figure.add_axes([0.84, 0.1, 0.02, 0.8]) 178 168 179 # Disable rotation for large sets. 169 180 # TODO: Define "large" for a dataset … … 182 193 else: 183 194 cb = self.figure.colorbar(im, cax=cbax) 195 184 196 cb.update_bruteforce(im) 185 197 cb.set_label('$' + self.scale + '$') … … 195 207 QtGui.QDialog.__init__(self) 196 208 Plotter2DWidget.__init__(self, manager=parent, quickplot=quickplot, dimension=dimension) 209 icon = QtGui.QIcon() 210 icon.addPixmap(QtGui.QPixmap(":/res/ball.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) 211 self.setWindowIcon(icon)
Note: See TracChangeset
for help on using the changeset viewer.