Changeset ebf422a in sasview for sansguiframe/src
- Timestamp:
- Sep 26, 2011 11:09:09 AM (13 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:
- 0d019c6
- Parents:
- 71fa9028
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
re6c6b67 rebf422a 303 303 Toggle error display to hide or show 304 304 """ 305 305 # Check zoom 306 xlo, xhi = self.subplot.get_xlim() 307 ylo, yhi = self.subplot.get_ylim() 308 306 309 selected_plot = self.plots[self.graph.selected_plottable] 307 310 if self.hide_menu.GetText() == "Hide Error Bar": … … 312 315 self.graph.render(self) 313 316 self.subplot.figure.canvas.draw_idle() 317 # Check if zoomed 318 toolbar_zoomed = self.toolbar.GetToolEnabled(self.toolbar._NTB2_BACK) 319 if self.is_zoomed or toolbar_zoomed: 320 # Recover the x,y limits 321 self.subplot.set_xlim((xlo, xhi)) 322 self.subplot.set_ylim((ylo, yhi)) 323 314 324 315 325 def _onRemove(self, event):
Note: See TracChangeset
for help on using the changeset viewer.