cairo_diagram: save a file when generating the test diagram
authorAntonio Ospite <ao2@ao2.it>
Tue, 26 Jun 2018 14:14:29 +0000 (16:14 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 13:17:42 +0000 (15:17 +0200)
src/diagram/cairo_diagram.py

index bf35d59..122ee24 100755 (executable)
@@ -211,6 +211,7 @@ def test():
     Diagram.test(diagram)
 
     diagram.show()
+    diagram.save_svg('cairo_diagram_test.svg')
 
 
 if __name__ == "__main__":