def save(self, path):
        """Save svg as file(.svg)

        Args:
            path (str): destination to save file
        """
        with open(path, 'w') as f:
            f.write(self.contents())