Changeset e20870bc in sasview for src/sas/qtgui/Plotting/Slicers/SectorSlicer.py
 Timestamp:
 Jun 27, 2018 5:33:52 AM (13 months ago)
 Branches:
 ESS_GUI, 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:
 b1a7a81
 Parents:
 c5e0d84
 gitauthor:
 Piotr Rozyczko <rozyczko@…> (05/31/18 07:15:47)
 gitcommitter:
 Piotr Rozyczko <rozyczko@…> (06/27/18 05:33:52)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/sas/qtgui/Plotting/Slicers/SectorSlicer.py
rd6b8a1d re20870bc 5 5 import logging 6 6 7 from .BaseInteractor import BaseInteractor7 from sas.qtgui.Plotting.Slicers.BaseInteractor import BaseInteractor 8 8 from sas.qtgui.Plotting.PlotterData import Data1D 9 9 import sas.qtgui.Utilities.GuiUtils as GuiUtils … … 283 283 self.markers = [] 284 284 self.axes = axes 285 self.color = color 285 286 # compute the value of the angle between the current line and 286 287 # the xaxis … … 438 439 if self.phi > numpy.pi: 439 440 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() 441 443 442 444 def set_cursor(self, x, y): … … 464 466 465 467 self.markers = [] 468 self.color = color 466 469 self.axes = axes 467 470 self.save_theta = theta … … 541 544 self.theta = numpy.arctan2(y, x) 542 545 self.has_move = True 543 self.base.base.update() 546 #self.base.base.update() 547 self.base.update() 544 548 545 549 def set_cursor(self, x, y):
Note: See TracChangeset
for help on using the changeset viewer.