Changeset cafa75f in sasview for src/sans/guiframe/local_perspectives/plotting/Plotter2D.py
- Timestamp:
- Apr 2, 2014 4:04:01 PM (11 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:
- 1829835
- Parents:
- 6771d94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/local_perspectives/plotting/Plotter2D.py
rb9f6d83 rcafa75f 249 249 self.default_zmin_ctl = self.zmin_2D 250 250 self.default_zmax_ctl = self.zmax_2D 251 # Check if zoomed 252 try: tb = self.toolbar.wx_ids['Back'] 253 except AttributeError: tb = self.toolbar._NTB2_BACK # Cruft 254 toolbar_zoomed = self.toolbar.GetToolEnabled(tb) 255 if not self.is_zoomed and not toolbar_zoomed: 251 if not self.is_zoomed: 256 252 return 257 253 # Recover the x,y limits … … 263 259 else: 264 260 self.toolbar.update() 265 self. _is_zoomed = False261 self.is_zoomed = False 266 262 267 263 def _set_axis_labels(self):
Note: See TracChangeset
for help on using the changeset viewer.