def new_figure_manager(num, *args, **kwargs): 
if _debug: print('<STR_LIT>' % (self.__class__.__name__, _fn_name()))<EOL>FigureClass = kwargs.pop('<STR_LIT>', Figure)<EOL>thisFig = FigureClass(*args, **kwargs)<EOL>canvas  = FigureCanvasCairo(thisFig)<EOL>manager = FigureManagerBase(canvas, num)<EOL>return manager<EOL>
Create a new figure manager instance