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