Changeset 657e52c in sasview for calculatorview/src/sans/perspectives/calculator/data_operator.py
- Timestamp:
- Dec 14, 2012 2:50:24 PM (12 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:
- 0203ade
- Parents:
- aa01d07b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r1d490fd r657e52c 645 645 self.position = (0.4, 0.5) 646 646 self.scale = 'linear' 647 self.prevXtrans = "x" 648 self.prevYtrans = "y" 649 self.viewModel = "--" 647 650 self.subplot.set_xticks([]) 648 651 self.subplot.set_yticks([]) … … 865 868 dial.view.Insert("--", 0) 866 869 dial.view.Insert("Linear y vs x", 1) 867 dial.xvalue.SetValue("x") 868 dial.yvalue.SetValue("y") 869 dial.view.SetValue("--") 870 dial.setValues(self.prevXtrans, self.prevYtrans, self.viewModel) 870 871 dial.Update() 871 872 if dial.ShowModal() == wx.ID_OK: … … 918 919 self.graph._yaxis_transformed("%s" % yname, "%s" % yunits) 919 920 item.transformView() 921 self.prevXtrans = self.xLabel 922 self.prevYtrans = self.yLabel 920 923 self.set_xscale(_xscale) 921 924 self.set_yscale(_yscale)
Note: See TracChangeset
for help on using the changeset viewer.