Changeset d56fc67 in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
May 22, 2012 3:35:51 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
e2605a5
Parents:
4467d62
Message:

trying to fix sldprofile plot problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/profile_dialog.py

    r4467d62 rd56fc67  
    8282            self.plotpanel.subplot.set_xlim(min(data_plot.x) - _X_OFF,  
    8383                                                max(data_plot.x) + _X_OFF) 
    84             #self.Centre() 
    85             self.plotpanel.render() 
    8684            self.plotpanel.resizing = False 
    8785            self.plotpanel.canvas.set_resizing(self.plotpanel.resizing) 
    88             self.plotpanel.subplot.figure.canvas.draw_idle() 
     86            self.plotpanel.graph.render(self.plotpanel) 
    8987 
    9088    def _set_dy_data(self):  
     
    243241        self.plots[plot.id].yaxis('\\rm{SLD} ', '10^{-6}A^{-2}') 
    244242        #draw 
    245         self.graph.render(self) 
     243        #self.graph.render(self) 
    246244         
    247245    def on_set_focus(self, event): 
Note: See TracChangeset for help on using the changeset viewer.