Changeset 6c4130a in sasview for sansguiframe/src/sans/guiframe
- Timestamp:
- Jul 7, 2012 4:53:54 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:
- e4cd34c
- Parents:
- 88a65e2
- Location:
- sansguiframe/src/sans/guiframe/local_perspectives/plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
r7c755888 r6c4130a 139 139 i += 1 140 140 _labels['Line'] = i 141 i += 1 142 _labels['Dash'] = i 143 i += 1 144 _labels['Vline'] = i 145 i += 1 146 _labels['Step'] = i 141 147 return _labels 142 148 … … 268 274 if data.__class__.__name__ == 'Data2D': 269 275 return 270 if data.id in self.plots.keys(): 276 plot_keys = self.plots.keys() 277 if data.id in plot_keys: 271 278 #Recover panel prop.s 272 279 xlo, xhi = self.subplot.get_xlim() … … 279 286 data.symbol = old_data.symbol 280 287 data.markersize = old_data.markersize 288 data.zorder = len(plot_keys) 281 289 # Replace data 282 290 self.graph.replace(data) … … 298 306 self.plots[data.id] = data 299 307 self.graph.add(self.plots[data.id]) 308 data.zorder = len(plot_keys) 300 309 ## Set the view scale for all plots 301 310 try: -
sansguiframe/src/sans/guiframe/local_perspectives/plotting/appearanceDialog.py
rb618b7f r6c4130a 217 217 i += 1 218 218 _labels['Line'] = i 219 i += 1 220 _labels['Dash'] = i 221 i += 1 222 _labels['Vline'] = i 223 i += 1 224 _labels['Step'] = i 219 225 return _labels 220 226
Note: See TracChangeset
for help on using the changeset viewer.