@format.setter
    def format(self, format):
        format = format.lower()
        if format not in backend.FORMATS:
            raise ValueError('unknown format: %r' % format)
        self._format = format
dataset/ETHPy150Open xflr6/graphviz/graphviz/files.py/Base.format/original