aboutsummaryrefslogtreecommitdiffstats
path: root/plot_llh/make_plots.py
diff options
context:
space:
mode:
Diffstat (limited to 'plot_llh/make_plots.py')
-rw-r--r--plot_llh/make_plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plot_llh/make_plots.py b/plot_llh/make_plots.py
index 67df0eb..b41e5ea 100644
--- a/plot_llh/make_plots.py
+++ b/plot_llh/make_plots.py
@@ -61,9 +61,9 @@ for i in range(len(sys.argv)-1):
print "Done loading data"
if not use_same_canvas :
- filename = "triangle_plot_"+os.path.splitext(sys.argv[i+1])[0]
+ filename = "triangle_plot_"+os.path.basename(sys.argv[i+1])[:-4]
else :
- filename = "triangle_plot"
+ filename = "triangle_plot"+os.path.basename(sys.argv[i+1])[:-4]
# plots scale and diviions
scale = 8