code: def plot_info_frags(scaffolds):
  
      
  
      scaffolds = format_info_frags(scaffolds)
      for name, scaffold in scaffolds.items():
          plt.figure()
          xs = range(len(scaffold))
          color = []
          names = {}
          ys = []
          for my_bin in scaffold:
              current_color = "r" if my_bin[4] > 0 else "g"
              color += [current_color]
              name = my_bin[0]
              if name in names:
                  ys.append(names[name])
              else:
                  names[name] = len(names)
                  ys.append(names[name])
          plt.scatter(xs, ys, c=color)
      plt.show()
docs: A crude way to visualize new scaffolds according to their origin on the
      initial scaffolding. Each scaffold spawns a new plot. Orientations are
      represented by different colors.