code: def plot_scatter(f, xs, ys, size, pch, colour, title):
      
      cs = None
      if f:
          if isinstance(f, str):
              with open(f) as fh:
                  data = [tuple(line.strip().split(',')) for line in fh]
          else:
              data = [tuple(line.strip().split(',')) for line in f]
          xs = [float(i[0]) for i in data]
          ys = [float(i[1]) for i in data]
          if len(data[0]) > 2:
              cs = [i[2].strip() for i in data]
      elif isinstance(xs, list) and isinstance(ys, list):
          pass
      else:
          with open(xs) as fh:
              xs = [float(str(row).strip()) for row in fh]
          with open(ys) as fh:
              ys = [float(str(row).strip()) for row in fh]
  
      _plot_scatter(xs, ys, size, pch, colour, title, cs)
docs: Form a complex number.
  
      Arguments:
          f -- comma delimited file w/ x,y coordinates
          xs -- if f not specified this is a file w/ x coordinates
          ys -- if f not specified this is a filew / y coordinates
          size -- size of the plot
          pch -- shape of the points (any character)
          colour -- colour of the points
          title -- title of the plot