Mercurial > hg > numerics
changeset 142:6747ce2bb090
more stubbing; almost there
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Mon, 30 Mar 2015 12:43:36 -0700 | 
| parents | 310290f95787 | 
| children | 8daabb0f9cc9 | 
| files | numerics/bar.py | 
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- 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"""
