- Timestamp:
- Sep 15, 2016 8:33:57 AM (8 years ago)
- Branches:
- 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
- Children:
- 8359bbf7
- Parents:
- 4fc7293
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (08/17/16 04:42:40)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/PlotPanel.py
r6d4cf68 rf74bd6e 666 666 dlg.setFitRange(self.xminView, self.xmaxView, 667 667 self.xmin, self.xmax) 668 else: 669 xlim = self.subplot.get_xlim() 670 ylim = self.subplot.get_ylim() 671 dlg.setFitRange(xlim[0], xlim[1], ylim[0], ylim[1]) 668 672 # It would be nice for this to NOT be modal (i.e. Show). 669 673 # Not sure about other ramifications - for example … … 1894 1898 1895 1899 """ 1900 xlim = self.subplot.get_xlim() 1901 ylim = self.subplot.get_ylim() 1902 1896 1903 # Saving value to redisplay in Fit Dialog when it is opened again 1897 1904 self.Avalue, self.Bvalue, self.ErrAvalue, \ … … 1924 1931 self.fit_result.name = 'Fit' 1925 1932 self.plots[fit_id] = self.fit_result 1933 self.subplot.set_xlim(xlim) 1934 self.subplot.set_ylim(ylim) 1926 1935 self.subplot.figure.canvas.draw_idle() 1927 1936
Note: See TracChangeset
for help on using the changeset viewer.