def new_figure_manager_given_figure(num, figure):
    '\n    Create a new figure manager instance for the given figure.\n    '
    canvas = FigureCanvasQTAgg(figure)
    return LeoFigureManagerQT(canvas, num)
Create a new figure manager instance for the given figure.
def new_figure_manager_given_figure(num, figure):
    '\n    \n    '
    canvas = FigureCanvasQTAgg(figure)
    return LeoFigureManagerQT(canvas, num)