def new_figure_manager(num, *args, **kwargs):
if _debug: print('<STR_LIT>' % fn_name())<EOL>FigureClass = kwargs.pop('<STR_LIT>', Figure)<EOL>thisFig = FigureClass(*args, **kwargs)<EOL>canvas = FigureCanvasGTKCairo(thisFig)<EOL>return FigureManagerGTK(canvas, num)<EOL>
Create a new figure manager instance