Changeset b764ae5 in sasview for src/sas/qtgui/Plotting/Plotter.py


Ignore:
Timestamp:
Sep 5, 2018 10:53:00 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
444c221c
Parents:
f6c19cf
git-author:
Piotr Rozyczko <rozyczko@…> (09/05/18 10:48:38)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/05/18 10:53:00)
Message:

processEvents() helps with proper chart generation. - SASVIEW-890
Fixed weighing in fitting - SASVIEW-1017
Fixed error bars after fitting - SASVIEW-1004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Plotter.py

    rae43f3b rb764ae5  
    195195            ax.set_xlabel(self.x_label) 
    196196 
    197         # define the ranges 
    198         #self.setRange = SetGraphRange(parent=self, 
    199         #    x_range=self.ax.get_xlim(), y_range=self.ax.get_ylim()) 
    200  
    201197        # refresh canvas 
    202198        self.canvas.draw_idle() 
     199        # This is an important processEvent. 
     200        # This allows charts to be properly updated in order 
     201        # of plots being applied. 
     202        QtWidgets.QApplication.processEvents() 
    203203 
    204204    def createContextMenu(self): 
Note: See TracChangeset for help on using the changeset viewer.