From 272f308b2bc1975375ce8f704c3f72ed58afa930 Mon Sep 17 00:00:00 2001 From: opentaco Date: Thu, 7 Nov 2024 14:46:53 +0200 Subject: [PATCH] Plot tightly --- scripts/map_consensus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/map_consensus.py b/scripts/map_consensus.py index b10a2dc05..e8bd29802 100644 --- a/scripts/map_consensus.py +++ b/scripts/map_consensus.py @@ -157,7 +157,7 @@ def visualize_data(emission_data, output_filename="consensus_plot.svg"): plt.xlabel('Major self-weight') # Save the plot - plt.savefig(output_filename, format='svg') + plt.savefig(output_filename, format='svg', bbox_inches='tight') print(f"Plot saved to {output_filename}")