def new_figure_manager(num, *args, **kwargs):
<EOL>FigureClass = kwargs.pop('<STR_LIT>', Figure)<EOL>thisFig = FigureClass(*args, **kwargs)<EOL>canvas = FigureCanvasEMF(thisFig)<EOL>manager = FigureManagerEMF(canvas, num)<EOL>return manager<EOL>
Create a new figure manager instance