code: def report_score_vs_rmsd_funnels(designs, path):
      
      from matplotlib.backends.backend_pdf import PdfPages
      import matplotlib.pyplot as plt
  
      print "Reporting score vs RMSD funnels..."
  
      pdf = PdfPages(path)
      designs = sorted(designs, key=lambda x: x.fancy_path)
  
      for index, design in enumerate(designs):
          plt.figure(figsize=(8.5, 11))
          plt.suptitle(design.fancy_path)
  
          axes = plt.subplot(2, 1, 1)
          plot_score_vs_dist(axes, design, metric="Max COOH Distance")
  
          axes = plt.subplot(2, 1, 2)
          plot_score_vs_dist(axes, design, metric="Loop RMSD")
  
          pdf.savefig(orientation='portrait')
          plt.close()
  
      pdf.close()
docs: Create a PDF showing the score vs. RMSD funnels for all the reasonable
      designs.  This method was copied from an old version of this script, and
      does not currently work.