def __init__(self, viewer=None, width=600, height=600):
        super(GingaViewerWidget, self).__init__()

        if viewer is None:
            viewer = CanvasView(logger)
        self.logger = viewer.logger

        self.viewer = viewer
        self.widget = viewer.get_widget()

#END
dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/Viewers.py/GingaViewerWidget.__init__/original