<%
	def prepare_freq_table(table):
		for row_idx, row in enumerate(table):
			table[row_idx][1] = round(table[row_idx][1], 2)
		table.insert(0,[f'{ONT_NAME}', ' Patient percentage'])
%>

${ plotter.table(id= "term_stats", header= True, styled= 'dt', width=width, height=height,
	cell_align= "left center".split(" "), attrib= {'class': 'table table-striped'},
	func = prepare_freq_table)
}
