Changeset 808da5e in sasview
- Timestamp:
- Aug 3, 2012 3:22:50 PM (12 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 285c3bb
- Parents:
- 1d3a2e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/profile_dialog.py
rd56fc67 r808da5e 66 66 # layout 67 67 self._setup_layout() 68 68 69 # plot 69 70 data_plot = deepcopy(self.data) … … 76 77 self.newplot.dy = None 77 78 self.newplot.name = 'SLD' 79 self.newplot.is_data = False 80 78 81 self.newplot.id = self.newplot.name 79 82 self.plotpanel.add_image(self.newplot) 83 84 self.plotpanel.resizing = False 85 self.plotpanel.canvas.set_resizing(self.plotpanel.resizing) 86 80 87 self.plotpanel.subplot.set_ylim(min(data_plot.y) - _Y_OFF , 81 88 max(data_plot.y) + _Y_OFF) 82 89 self.plotpanel.subplot.set_xlim(min(data_plot.x) - _X_OFF, 83 90 max(data_plot.x) + _X_OFF) 84 self.plotpanel.resizing = False85 self.plotpanel.canvas.set_resizing(self.plotpanel.resizing)86 91 self.plotpanel.graph.render(self.plotpanel) 92 self.plotpanel.canvas.draw() 87 93 88 94 def _set_dy_data(self): … … 219 225 self.yaxis_unit = '' 220 226 self.resizing = True 227 self.xcolor = 'black' 228 self.ycolor = 'black' 221 229 222 230 def add_image(self, plot):
Note: See TracChangeset
for help on using the changeset viewer.