def finalize (self):
        self.addColor (self.data)
        if len (self.data) > 0:
            self.draw (self.data)

        self.data.transform = self.makeTransform (self.minX, self.maxX, self.minY, self.maxY)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/canvas.py/BarCanvas.finalize/original