From 34546914e597728daba44b83ed9afc4e35ee6bf9 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand Date: Sat, 26 Nov 2016 16:53:06 +0300 Subject: [PATCH] add plot filters --- notes_tools/generate_bilan/texenv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/notes_tools/generate_bilan/texenv.py b/notes_tools/generate_bilan/texenv.py index dcb59b9..3cfe4ce 100644 --- a/notes_tools/generate_bilan/texenv.py +++ b/notes_tools/generate_bilan/texenv.py @@ -25,8 +25,12 @@ texenv = jinja2.Environment( # Filters +from .filters import includegraphics texenv.filters['includegraphics'] = includegraphics +from notes_tools.tools.marks_plottings import comp_radar, marks_hist +texenv.filters['comp_radar'] = comp_radar +texenv.filters['marks_hist'] = marks_hist if __name__ == '__main__': print(texenv.list_templates())