<s> from ginga . gtkw import ImageViewGtk <EOL> from ginga . canvas . mixins import DrawingMixin , CanvasMixin , CompoundMixin <EOL> from ginga . util . toolbox import ModeIndicator <EOL> class ImageViewCanvasError ( ImageViewGtk . ImageViewGtkError ) : <EOL> pass <EOL> class ImageViewCanvas ( ImageViewGtk . ImageViewZoom , <EOL> DrawingMixin , CanvasMixin , CompoundMixin ) : <EOL> def __init__ ( self , logger = None , rgbmap = None , settings = None , <EOL> bindmap = None , bindings = None ) : <EOL> ImageViewGtk . ImageViewZoom . __init__ ( self , logger = logger , <EOL> rgbmap = rgbmap , <EOL> settings = settings , <EOL> bindmap = bindmap , <EOL> bindings = bindings ) <EOL> CompoundMixin . __init__ ( self ) <EOL> CanvasMixin . __init__ ( self ) <EOL> DrawingMixin . __init__ ( self ) <EOL> self . set_canvas ( self , private_canvas = self ) <EOL> self . _mi = ModeIndicator ( self ) </s>
