(*args, **kwargs)
return retval
Save current figure as a blob and display as block image
Save current figure as a blob and display as block image
Save current figure as a blob and display as block image
def show(*args, **kwargs):
    """Save current figure as a blob and display as block image
    """
    if not pyplot_dict:
        raise Exception("gmatplot.setup not invoked")

    if args:
        overwrite = args[0]
    else:
        overwrite = kwargs.pop("overwrite", not pyplot_dict["new_plot"])
    format = kwargs.pop("format", "svg")
    outfile = kwargs.pop("outfile", "")
    title = kwargs.pop("title", "")
    fullscreen = kwargs.pop("fullscreen", False)

    import matplotlib.pyplot as plt
    retval = display(plt, overwrite=overwrite, format=format, outfile=outfile, title=title, fullscreen=fullscreen)
    pyplot_dict["new_plot"] = False
    return retval
def show ( * args , * * kwargs ) : if not pyplot_dict : raise Exception ( "gmatplot.setup not invoked" ) if args : overwrite = args [ 0 ] else : overwrite = kwargs . pop ( "overwrite" , not pyplot_dict [ "new_plot" ] ) format = kwargs . pop ( "format" , "svg" ) outfile = kwargs . pop ( "outfile" , "" ) title = kwargs . pop ( "title" , "" ) fullscreen = kwargs . pop ( "fullscreen" , False ) import matplotlib . pyplot as plt retval = display ( plt , overwrite = overwrite , format = format , outfile = outfile , title = title , fullscreen = fullscreen ) pyplot_dict [ "new_plot" ] = False return retval