From 75e02ecbada2ff11c119c444c86698773c2237a9 Mon Sep 17 00:00:00 2001 From: VirajP1002 Date: Thu, 1 Aug 2024 16:00:45 +0100 Subject: [PATCH] Test different image size --- scripts/visualise_results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/visualise_results.py b/scripts/visualise_results.py index 1912311..30d7d68 100644 --- a/scripts/visualise_results.py +++ b/scripts/visualise_results.py @@ -16,7 +16,7 @@ class GraphGenerationFailed(Exception): def plot_data(dataframes, number_of_days_to_plot): plt.style.use('fast') - fig, axes = plt.subplots(nrows=1, ncols=2, figsize=(15, 6)) + fig, axes = plt.subplots(nrows=1, ncols=2, figsize=(10, 4)) for i in range(len(dataframes)): plt.subplot(1, 2, i + 1) @@ -29,7 +29,7 @@ def plot_data(dataframes, number_of_days_to_plot): dataframes[i].plot.line(ax=axes[0]) plt.margins(0.03, 0.07) - plt.legend(frameon=True, prop={"size": 17}) + plt.legend(frameon=True, prop={"size": 14}) plt.xticks(dataframes[i].index, dataframes[i]["DATE"], size="small", rotation=90) plt.yticks(size="small") plt.ylabel("Average Response Time (ms)")