def new_figure_manager(num, *args, **kwargs):
if __debug__: verbose.report('<STR_LIT>',<EOL>'<STR_LIT>')<EOL>FigureClass = kwargs.pop('<STR_LIT>', Figure)<EOL>thisFig = FigureClass(*args, **kwargs)<EOL>canvas = FigureCanvasAgg(thisFig)<EOL>manager = FigureManagerBase(canvas, num)<EOL>return manager<EOL>
Create a new figure manager instance