simplecharts

SVG charts without dependencies
git clone https://git.ce9e.org/simplecharts.git

commit
a7599f6a8123f5b76f69f0e2b3989b03a047a2af
parent
611ceb70ce069567de5d94381584390b4b924d1d
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-02-20 09:34
allow to execute script on its own

Diffstat

M simplecharts.py 4 ++++

1 files changed, 4 insertions, 0 deletions


diff --git a/simplecharts.py b/simplecharts.py

@@ -334,3 +334,7 @@ def main():
  334   334     renderer = cls()
  335   335     svg = renderer.render(data)
  336   336     print(svg)
   -1   337 
   -1   338 
   -1   339 if __name__ == '__main__':
   -1   340     main()