Changeset 204f628 in sasview for src/sas/sasgui/perspectives/corfunc/corfunc.py
- Timestamp:
- Aug 23, 2016 4:22:47 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:
- 839e5e3
- Parents:
- f56770ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc.py
r6ffa0dd r204f628 167 167 group_id = GROUP_ID_IQ_DATA 168 168 if label == IQ_EXTRAPOLATED_DATA_LABEL: 169 # Show the extrapolation as a curve instead of points 169 170 new_plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 170 171 elif label == TRANSFORM_LABEL: … … 172 173 new_plot.yaxis("{\\Gamma}", '') 173 174 group_id = GROUP_ID_TRANSFORM 175 # Show the transformation as a curve instead of points 174 176 new_plot.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 175 177 new_plot.id = label … … 188 190 leftdown=True) 189 191 if label == IQ_EXTRAPOLATED_DATA_LABEL: 192 # Zoom in to the region we're interested in 190 193 xlim = (min(self.corfunc_panel._extrapolated_data.x), self.corfunc_panel.qmax[1]*1.2) 191 194 wx.CallAfter(wx.PostEvent, self.parent, PlotLimitEvent(id=IQ_DATA_LABEL, group_id=GROUP_ID_IQ_DATA, xlim=xlim)) … … 202 205 return 203 206 data = panel.plots[panel.graph.selected_plottable] 204 print "Data id is: {}".format(data.id)205 207 self.set_data([data])
Note: See TracChangeset
for help on using the changeset viewer.