diff --git a/merge.py b/merge.py
index ed94006..6577b27 100644
--- a/merge.py
+++ b/merge.py
@@ -39,6 +39,8 @@ html_content = ['',
f'Total lines written: {return_count}',
'
',
f'Total lines per hour: {lines_per_hour}',
+'
',
+f'Total hours: {hour_count}',
'',
'
',
]
diff --git a/plot.py b/plot.py
index 70b6665..529e350 100644
--- a/plot.py
+++ b/plot.py
@@ -101,11 +101,10 @@ def render_per_day():
plt.xlabel('Date')
plt.ylabel('Event count')
plt.xticks(rotation=45)
+ plt.style.use('dark_background')
plt.title('Keyboard events')
plt.tight_layout()
- plt.style.use('dark_background')
plt.legend()
-
plt.savefig(f"graph_per_day.png")
def render_per_week():
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..f0b2593
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+matplotlib
+