From: Antonio Ospite Date: Tue, 26 Jun 2018 14:14:29 +0000 (+0200) Subject: cairo_diagram: save a file when generating the test diagram X-Git-Url: https://git.ao2.it/flexagon-toolkit.git/commitdiff_plain/a09d49b69a701ce3b780aebd66eece715d5eb605?ds=inline cairo_diagram: save a file when generating the test diagram --- diff --git a/src/diagram/cairo_diagram.py b/src/diagram/cairo_diagram.py index bf35d59..122ee24 100755 --- a/src/diagram/cairo_diagram.py +++ b/src/diagram/cairo_diagram.py @@ -211,6 +211,7 @@ def test(): Diagram.test(diagram) diagram.show() + diagram.save_svg('cairo_diagram_test.svg') if __name__ == "__main__":