def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def close(figure):
        """!
        @brief Closes figure object that was used or allocated by the visualizer.