def setBounds (self):
        self.xlist = []
        self.ylist = []
        for child in self.dataPoints:
            self.xlist.append (child.x)
            self.ylist.append (child.y)
        
        minX = min (self.xlist)
        maxX = max (self.xlist)
        minY = min (self.ylist)
        maxY = max (self.ylist)
        rangeX = maxX - minX
        rangeY = maxY - minY

        self.minX = minX - rangeX * .05
        self.maxX = maxX + rangeX * .05
        self.minY = minY - rangeY * .05
        self.maxY = maxY + rangeY * .05

        self.xml['minX'] = self.minX
        self.xml['maxX'] = self.maxX
        self.xml['minY'] = self.minY
        self.xml['maxY'] = self.maxY
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/canvas.py/ScatterCanvas.setBounds/original