feat: add hour_count display to merge.py and apply dark_background style in plot.py
- Insert total hours line in merge.py HTML output after lines per hour - Move dark_background style application before title in render_per_day - Create requirements.txt with matplotlib dependency
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user