Changeset 0274aea in sasview for src


Ignore:
Timestamp:
Mar 31, 2017 4:15:20 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
4ff5e35
Parents:
7d077d1
Message:

Changes to Qmodel now visible in Plot2D charts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotter2D.py

    r6fd4e36 r0274aea  
    301301            self.slicer_widget.setModel(self.param_model) 
    302302 
    303  
    304303    def onSectorView(self): 
    305304        """ 
     
    307306        """ 
    308307        self.setSlicer(slicer=SectorInteractor) 
    309  
    310308 
    311309    def onAnnulusView(self): 
     
    487485        self.figure.canvas.draw() 
    488486 
     487    def replacePlot(self, id, new_plot): 
     488        """ 
     489        Replace data in current chart. 
     490        This effectlvely refreshes the chart with changes to one of its plots 
     491        """ 
     492        self.plot(data=new_plot) 
     493 
    489494 
    490495class Plotter2D(QtGui.QDialog, Plotter2DWidget): 
Note: See TracChangeset for help on using the changeset viewer.