(num, *args, **kwargs)
return new_figure_manager_given_figure(num, thisFig)
Create a new figure manager instance
Create a new figure manager instance
Create a new figure manager instance
def new_figure_manager(num, *args, **kwargs):
    """
    Create a new figure manager instance
    """
    # if a main-level app must be created, this (and
    # new_figure_manager_given_figure) is the usual place to
    # do it -- see backend_wx, backend_wxagg and backend_tkagg for
    # examples.  Not all GUIs require explicit instantiation of a
    # main-level app (egg backend_gtk, backend_gtkagg) for pylab
    FigureClass = kwargs.pop('FigureClass', Figure)
    thisFig = FigureClass(*args, **kwargs)
    return new_figure_manager_given_figure(num, thisFig)
def new_figure_manager ( num , * args , * * kwargs ) : # if a main-level app must be created, this (and # new_figure_manager_given_figure) is the usual place to # do it -- see backend_wx, backend_wxagg and backend_tkagg for # examples.  Not all GUIs require explicit instantiation of a # main-level app (egg backend_gtk, backend_gtkagg) for pylab FigureClass = kwargs . pop ( 'FigureClass' , Figure ) thisFig = FigureClass ( * args , * * kwargs ) return new_figure_manager_given_figure ( num , thisFig )