code: def plot_gos(fout_png, goids, obo_dag, *args, **kws):
      
      engine = kws['engine'] if 'engine' in kws else 'pydot'
      godagsmall = OboToGoDagSmall(goids=goids, obodag=obo_dag).godag
      godagplot = GODagSmallPlot(godagsmall, *args, **kws)
      godagplot.plt(fout_png, engine)
docs: Given GO ids and the obo_dag, create a plot of paths from GO ids.