Changeset a1100c07 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Sep 18, 2009 10:42:34 AM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

fix model plot update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    r2a2af47 ra1100c07  
    10561056        
    10571057        try: 
    1058              
    10591058            new_plot = Theory1D(x=x, y=y) 
    10601059            my_info = self._get_plotting_info( data) 
     
    10721071            
    10731072            title= new_plot.name 
    1074             
     1073             
    10751074            # Pass the reset flag to let the plotting event handler 
    10761075            # know that we are replacing the whole plot 
    10771076            if title== None: 
    10781077                title = "Analytical model 1D " 
     1078            if data ==None: 
    10791079                wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, 
    10801080                             title= str(title), reset=True )) 
Note: See TracChangeset for help on using the changeset viewer.