Changeset 6ffa0dd in sasview for src/sas/sasgui/perspectives/corfunc/corfunc.py
- Timestamp:
- Aug 22, 2016 11:17:33 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 338d6ff
- Parents:
- a3ed157
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r6f343e3 r6ffa0dd 10 10 from sas.sasgui.guiframe.events import StatusEvent 11 11 from sas.sasgui.guiframe.events import NewPlotEvent 12 from sas.sasgui.guiframe.events import PlotLimitEvent 12 13 from sas.sasgui.guiframe.gui_style import GUIFRAME_ID 13 14 from sas.sasgui.perspectives.corfunc.corfunc_panel import CorfuncPanel … … 186 187 wx.CallAfter(self.corfunc_panel.plot_qrange, active=active_ctrl, 187 188 leftdown=True) 189 if label == IQ_EXTRAPOLATED_DATA_LABEL: 190 xlim = (min(self.corfunc_panel._extrapolated_data.x), self.corfunc_panel.qmax[1]*1.2) 191 wx.CallAfter(wx.PostEvent, self.parent, PlotLimitEvent(id=IQ_DATA_LABEL, group_id=GROUP_ID_IQ_DATA, xlim=xlim)) 188 192 189 193 def clear_data(self):
Note: See TracChangeset
for help on using the changeset viewer.