code: def write_recovery(page, injList):
  
      
  
      th = ['']+injList
      td = []
  
      plots = ['sky_error_time','sky_error_mchirp','sky_error_distance']
      text = { 'sky_error_time':'Sky error vs time',\
                        'sky_error_mchirp':'Sky error vs mchirp',\
                        'sky_error_distance':'Sky error vs distance' }
  
      for row in plots:
          pTag = text[row]
          d = [pTag]
          for inj in injList:
              plot = markup.page()
              plot = markup.page()
              p = "%s/efficiency_OFFTRIAL_1/found_%s.png" % (inj, row)
              plot.a(href=p, title=pTag)
              plot.img(src=p)
              plot.a.close()
              d.append(plot())
          td.append(d)
  
      page = write_table(page, th, td)
  
      return page
docs: Write injection recovery plots to markup.page object page