Ignore:
Timestamp:
Jun 27, 2018 5:33:52 AM (3 months ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Pr_fixes, ESS_GUI_iss1032, ESS_GUI_iss1033, ESS_GUI_iss1034, ESS_GUI_iss1052, ESS_GUI_iss879, ESS_GUI_iss957, ESS_GUI_iss959, ESS_GUI_iss966, ESS_GUI_iss976, ESS_GUI_poly_plot2
Children:
b1a7a81
Parents:
c5e0d84
git-author:
Piotr Rozyczko <rozyczko@…> (05/31/18 07:15:47)
git-committer:
Piotr Rozyczko <rozyczko@…> (06/27/18 05:33:52)
Message:

Masking dialog for fitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Slicers/SectorSlicer.py

    rd6b8a1d re20870b  
    55import logging 
    66 
    7 from .BaseInteractor import BaseInteractor 
     7from sas.qtgui.Plotting.Slicers.BaseInteractor import BaseInteractor 
    88from sas.qtgui.Plotting.PlotterData import Data1D 
    99import sas.qtgui.Utilities.GuiUtils as GuiUtils 
     
    283283        self.markers = [] 
    284284        self.axes = axes 
     285        self.color = color 
    285286        # compute the value of the angle between the current line and 
    286287        # the x-axis 
     
    438439        if self.phi > numpy.pi: 
    439440            self.phi = 2 * numpy.pi - numpy.fabs(self.theta2 - self.theta) 
    440         self.base.base.update() 
     441        #self.base.base.update() 
     442        self.base.update() 
    441443 
    442444    def set_cursor(self, x, y): 
     
    464466 
    465467        self.markers = [] 
     468        self.color = color 
    466469        self.axes = axes 
    467470        self.save_theta = theta 
     
    541544        self.theta = numpy.arctan2(y, x) 
    542545        self.has_move = True 
    543         self.base.base.update() 
     546        #self.base.base.update() 
     547        self.base.update() 
    544548 
    545549    def set_cursor(self, x, y): 
Note: See TracChangeset for help on using the changeset viewer.