def __init__(self, hdulist, figure, rect): self.hdulist = hdulist self.figure = figure self.axes = self._create_axes(rect) #self.figure.add_axes(self.axes) self.marker = None self.display_changed = Signal() self.xy_changed = Signal() self.focus_released = Signal() self._colormap = GrayscaleColorMap() self._mpl_event_handlers = {} self._interaction_context = None self.number_of_images_displayed = 0 self.frame_number = None
def __init__(self, parent): super(SingletViewer, self).__init__(parent) self.xy_changed = Signal()