code: def plot(xys, xrange=None, yrange=None, color="green"):
      plot_options = dict(
          terminal="dumb %d %d ansi" % (FLAGS.width, FLAGS.height),
          title=FLAGS.ykey,
          xlabel=FLAGS.xkey,
          set=("key outside bottom center",),
          # _with="points linecolor '%s'" % color,
      )
  
      if FLAGS.errorbars:
          plot_options["with"] = "yerrorbars"
  
      if xrange is not None:
          plot_options.update(xrange=xrange)
  
      if yrange is not None:
          plot_options.update(yrange=yrange)
  
      gp.plot(*xys, **plot_options)
  
file_path: moolib/py/moolib/examples/plot.py
imports: import argparse
  import glob
  import os
  import gnuplotlib
  import numpy
  import pandas
label_desc: Use image node_id 4 for calling a global function with example usage: plot(xys, xrange, yrange, color) without return types