Пример #1
0
 def __init__(self, axes, **kwargs):
     super(HRangeMode, self).__init__(axes, **kwargs)
     self.icon = get_icon('glue_xrange_select')
     self.mode_id = 'X range'
     self.action_text = 'X range'
     self.tool_tip = 'Select a range of x values'
     self._roi_tool = qt_roi.QtXRangeROI(self._axes)
     self.shortcut = 'H'
Пример #2
0
 def __init__(self, viewer, **kwargs):
     super(HRangeMode, self).__init__(viewer, **kwargs)
     self._roi_tool = qt_roi.QtXRangeROI(self._axes)