Changeset 21d99c2 in sasview
- Timestamp:
- Mar 6, 2010 10:51:33 AM (15 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:
- c8570c3
- Parents:
- c75a8ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
rf5fda87 r21d99c2 114 114 if is_empty: 115 115 self.graph.delete(self.plots[event.plot.name]) 116 117 # Check whether the class of plottable changed 118 if not event.plot.__class__==self.plots[event.plot.name].__class__: 119 #overwrite a plottable using the same name 120 self.graph.delete(self.plots[event.plot.name]) 121 else: 122 # plottable is already draw on the panel 123 is_new = False 116 del self.plots[event.plot.name] 117 else: 118 # Check whether the class of plottable changed 119 if not event.plot.__class__==self.plots[event.plot.name].__class__: 120 #overwrite a plottable using the same name 121 self.graph.delete(self.plots[event.plot.name]) 122 else: 123 # plottable is already draw on the panel 124 is_new = False 124 125 125 126 if not is_empty:
Note: See TracChangeset
for help on using the changeset viewer.