code: def asciiplot(x, y, digit=1, width=50, title=None, char="="):
      
      ax = np.array(x)
      ay = np.array(y)
  
      if title:
          print(dark(title), file=sys.stderr)
  
      az = ay * width / ay.max()
      tx = [asciiaxis(x, digit=digit) for x in ax]
      rjust = max([len(x) for x in tx]) + 1
  
      for x, y, z in zip(tx, ay, az):
          x = x.rjust(rjust)
          y = y or ""
          z = green(char * z)
          print("{0} |{1} {2}".format(x, z, y), file=sys.stderr)
docs: Print out a horizontal plot using ASCII chars.
      width is the textwidth (height) of the plot.