Changeset a1100c07 in sasview for sansview/perspectives
- Timestamp:
- Sep 18, 2009 12:42:34 PM (15 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:
- 5859862
- Parents:
- aaea3714
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r2a2af47 ra1100c07 1056 1056 1057 1057 try: 1058 1059 1058 new_plot = Theory1D(x=x, y=y) 1060 1059 my_info = self._get_plotting_info( data) … … 1072 1071 1073 1072 title= new_plot.name 1074 1073 1075 1074 # Pass the reset flag to let the plotting event handler 1076 1075 # know that we are replacing the whole plot 1077 1076 if title== None: 1078 1077 title = "Analytical model 1D " 1078 if data ==None: 1079 1079 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 1080 1080 title= str(title), reset=True ))
Note: See TracChangeset
for help on using the changeset viewer.