async def corofunc2():
            called[1] = True
            return event.ReturnValue(eat=True)
def close(figure):
        """!
        @brief Closes figure object that was used or allocated by the visualizer.