From 892ff7327a5b702883e656216d1392ae0305c8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Wed, 3 Nov 2021 14:23:01 +0100
Subject: [PATCH] Let users set the filename manually in plot cell

---
 analysis/demand-metric-plot.ipynb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/analysis/demand-metric-plot.ipynb b/analysis/demand-metric-plot.ipynb
index e7fa88c08..71e08f059 100644
--- a/analysis/demand-metric-plot.ipynb
+++ b/analysis/demand-metric-plot.ipynb
@@ -46,7 +46,6 @@
    "outputs": [],
    "source": [
     "results_dir = '<path-to>/results'\n",
-    "plot_name = '<plot-name>'\n",
     "\n",
     "experiments = {\n",
     "    'System XYZ': 'exp200',\n",
@@ -138,7 +137,7 @@
     "ax.yaxis.set_major_locator(MaxNLocator(integer=True))\n",
     "ax.xaxis.set_major_formatter(FuncFormatter(load_formatter))\n",
     "\n",
-    "plt.savefig(results_dir + '/' + plot_name + '.pdf', bbox_inches='tight')"
+    "plt.savefig('temp.pdf', bbox_inches='tight')"
    ]
   },
   {
-- 
GitLab