def attachCanvas (self, canvasType, **attr):
        self.canvas = canvasType (width = self.settings.width + self.settings.leftMargin - self.settings.rightMargin, 
                                  height = self.settings.height - self.settings.topMargin - self.settings.bottomMargin, 
                                  x = self.settings.leftMargin,
                                  y = self.settings.topMargin,
                                  id='canvas-root',
                                  **attr)
        self.dataGroup.draw (self.canvas)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/base.py/BaseGraph.attachCanvas/operator `-` -> `+`