def setSVG (self):
        self.finalize ()
        attr = PrintableCanvas.setSVG (self)
        if self.settings.fixedWidth:
            height = self.settings.fixedWidth * (self.settings.height / self.settings.width)
            attr.update ([('width', self.settings.fixedWidth),
                          ('height', height)]) 
        return attr
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/base.py/BaseGraph.setSVG/original