# HG changeset patch # User Jeff Hammel # Date 1427744616 25200 # Node ID 6747ce2bb090955c5ea77ca3973b00a4d8009174 # Parent 310290f957873e6b1aaca90f7b6761a00bffc68e more stubbing; almost there diff -r 310290f95787 -r 6747ce2bb090 numerics/bar.py --- a/numerics/bar.py Mon Mar 30 12:33:26 2015 -0700 +++ b/numerics/bar.py Mon Mar 30 12:43:36 2015 -0700 @@ -38,7 +38,10 @@ """ # TODO: abstract this to a plot class - template = None # TODO + template = tempita.Template.from_filename(bar_template) + bar_chart = template.substitute(title=title or '', + d3=d3, + data=data) class BarChartParser(ManipulationParser): """command line options parser for bar charts"""