def write_html_file(out_table, outpath):
 page_out = (PAGE_HTML % ('Taxa Summaries', out_table))
 out = open(outpath, 'w+')
 out.write(page_out)
 out.close()

def write_html_file ( out_table , outpath ) : page_out = ( PAGE_HTML % ( 'Taxa Summaries' , out_table ) ) out = open ( outpath , 'w+' ) out . write ( page_out ) out . close ( )
write 2d plots into an html file .