Typo again

This commit is contained in:
Alban Bronisz 2021-02-14 18:09:34 +01:00
parent cab9498f2b
commit e5a1948f59
2 changed files with 4 additions and 5 deletions

View File

@ -55,7 +55,6 @@ def load_data(stats_fn: str):
def render(data: dict, web_render:bool=False):
bar_chart = pygal.StackedBar(height=400, legend_box_size=5, x_label_rotation=25)
labels = [d.strftime("%B %d %H:%M") for d in data["date"]]
print(labels)
bar_chart.x_labels = labels
for k in data:
if k == "date":

View File

@ -15,7 +15,7 @@ if [[ $# -ne 1 ]] && [[ $# -ne 2 ]]; then
echo " - stats_file: path to stats file"
echo ""
echo "Options:"
echo " - w: do rende1r using web browser"
echo " - w: do render using web browser"
exit 1
fi