From 81ade4df38c68ac12bb102dd22cd25ed26814c90 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Mon, 15 May 2023 23:55:46 +0200 Subject: [PATCH] Fixed request plot method --- regina/data_visualization/visualize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regina/data_visualization/visualize.py b/regina/data_visualization/visualize.py index e0ad08d..6bc3974 100644 --- a/regina/data_visualization/visualize.py +++ b/regina/data_visualization/visualize.py @@ -354,9 +354,9 @@ def visualize(db: Database): # requests plt_history.plot_right(single_date_names, request_count_dates, label="Unique requests", color=color_settings_history["requests"]) if get_humans_visitors: - plt_history.plot_left(single_date_names, request_count_human_dates, label="Unique requests (human)", color=color_settings_history["requests_human"]) + plt_history.plot_right(single_date_names, request_count_human_dates, label="Unique requests (human)", color=color_settings_history["requests_human"]) if get_new_visitors: - plt_history.plot_left(single_date_names, request_count_new_dates, label="Unique requests (new)", color=color_settings_history["requests_new"]) + plt_history.plot_right(single_date_names, request_count_new_dates, label="Unique requests (new)", color=color_settings_history["requests_new"]) savefig(f"history_visitor_request_{suffix}", plt_history.get_fig()) # if data_out_dir: # TODO export history