summaryrefslogtreecommitdiff
path: root/src/histogram
diff options
context:
space:
mode:
Diffstat (limited to 'src/histogram')
-rw-r--r--src/histogram/__init__.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/histogram/__init__.py b/src/histogram/__init__.py
new file mode 100644
index 0000000..a01612f
--- /dev/null
+++ b/src/histogram/__init__.py
@@ -0,0 +1,19 @@
1"""
2Module used to generate the histogram
3"""
4import pygal
5
6
7class Histogram():
8 """Class used to generate an Histogram"""
9 def __init__(self, outfile, title="", data=""):
10 self.outfile = outfile
11 self.title = title
12 self.data = data
13 self.hist = pygal.Histogram()
14
15 def feed(self, data):
16 self.data = data
17
18 def generate(self):
19 pass