From 6f9f237e5c8aa01450fa4c09f6248162912942d4 Mon Sep 17 00:00:00 2001
From: Alan Coleman <alanc@udel.edu>
Date: Tue, 5 Mar 2024 11:00:12 +0100
Subject: [PATCH] Copy over changes from !559

---
 python/examples/shower_profile.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/examples/shower_profile.py b/python/examples/shower_profile.py
index 76f2db866..7be09e423 100644
--- a/python/examples/shower_profile.py
+++ b/python/examples/shower_profile.py
@@ -77,7 +77,7 @@ def draw_profiles(pr, pr_config):
     ax.set_yscale("log")
     ax.set_xlim(min(pr["X"]), max(pr["X"]))
 
-    plot_path = os.path.join(args.output_dir, "shower_profile_long_profiles.png")
+
     print("Saving", plot_path)
     fig.savefig(plot_path)
 
@@ -93,7 +93,7 @@ def draw_energyloss(prdx, prdx_config):
     ax.set_ylabel(f"dE/dX ({unit_energy_str} / ({unit_grammage_str}))")
     ax.set_xlim(min(prdx["X"]), max(prdx["X"]))
 
-    plot_path = os.path.join(args.output_dir, "shower_profile_energy_loss.png")
+
     print("Saving", plot_path)
     fig.savefig(plot_path)
 
-- 
GitLab