'Create a new figure manager instance for the given figure.'

@classmethod
def new_figure_manager_given_figure(cls, num, figure):

    canvas = cls.FigureCanvas(figure)
    manager = cls.FigureManager(canvas, num)
    return manager
