def main(): delta_days = (dt.date.today() - (dt.date.today() - relativedelta(months=1))).days mizore = Grapher(delta_days) mizore.make_graph_of_counts_per_daily("monthly_graph.png") mizore.make_glaph_of_counts_per_hourly("monthly_graph_per_hourly.png") mizore.post(("monthly_graph.png", "monthly_graph_per_hourly.png"))
def main(): delta_days = 7 mizore = Grapher(delta_days) mizore.make_graph_of_counts_per_daily("weekly_graph.png") mizore.make_glaph_of_counts_per_hourly("weekly_graph_per_hourly.png") mizore.post(("weekly_graph.png", "weekly_graph_per_hourly.png"))