def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def close(figure):
        """!
        @brief Closes figure object that was used or allocated by the visualizer.