Changeset accbb1b in sasview for guiframe/local_perspectives/plotting
- Timestamp:
- May 19, 2011 6:59:17 PM (14 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:
- a436b2e
- Parents:
- d785914
- Location:
- guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
radf44c2 raccbb1b 334 334 id = wx.NewId() 335 335 self.hide_menu = self._slicerpop.Append(id, "Hide Error") 336 if plot.dy is not None or plot.dy != []: 336 337 if plot.dy is not None and plot.dy != []: 337 338 if plot.hide_error : 338 339 self.hide_menu.SetText('Show Error') … … 340 341 self.hide_menu.SetText('Hide Error') 341 342 else: 342 self.hide_menu. Disable()343 self.hide_menu.Enable(False) 343 344 wx.EVT_MENU(self, id, self._ontoggle_hide_error) 344 345 -
guiframe/local_perspectives/plotting/profile_dialog.py
r59fbcff raccbb1b 69 69 70 70 self.newplot = Theory1D(data_plot.x, data_plot.y, data_plot.dy) 71 self.newplot.dy = None 71 72 self.newplot.name = 'SLD' 72 73 self.plotpanel.add_image(self.newplot) … … 106 107 sizer = wx.BoxSizer(wx.VERTICAL) 107 108 sizer.Add(self.plotpanel, -1, wx.LEFT|wx.RIGHT, 5) 108 sizer.Add((0, 10)) 109 sizer.Add(wx.StaticLine(self), 0, wx.ALL|wx.EXPAND, 5) 110 sizer.Add((0, 5)) 109 111 #-----Button------------1 110 112 id = wx.NewId() … … 156 158 # Not implemented 157 159 pass 160 161 def set_plot_unfocus(self): 162 """ 163 Set_plot unfocus 164 """ 165 # NOt implemented 166 pass 158 167 159 168 class SLDplotpanel(PlotPanel): … … 184 193 """ 185 194 self.plots[plot.name] = plot 195 self.plots[plot.name].is_data = False 186 196 #init graph 187 197 #self.gaph = Graph()
Note: See TracChangeset
for help on using the changeset viewer.