From 7a686fcee45441b5adb1609e6b6616f30c34c8e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Tue, 26 Sep 2023 09:25:28 +0200 Subject: [PATCH 1/2] Use black & grey in optimisation plot Change-Id: Ic169372b35f524156dd543b5644f73e0135dac8e --- bluepyemodel/emodel_pipeline/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluepyemodel/emodel_pipeline/plotting.py b/bluepyemodel/emodel_pipeline/plotting.py index 379861ce..bde8b6fa 100644 --- a/bluepyemodel/emodel_pipeline/plotting.py +++ b/bluepyemodel/emodel_pipeline/plotting.py @@ -173,7 +173,7 @@ def optimisation( title = get_title(emodel, iteration, seed) axs[0, 0].set_title(title) - axs[0, 0].plot(ngen, run["logbook"].select("min"), label="Minimum", c="red") + axs[0, 0].plot(ngen, run["logbook"].select("min"), label="Minimum", c="grey") axs[0, 0].plot(ngen, run["logbook"].select("avg"), label="Average", c="black") From de790e774930efcccfae0127fcc01e43449ffc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Tue, 26 Sep 2023 09:31:09 +0200 Subject: [PATCH 2/2] switch colors in plot optimisation Change-Id: I69645125619aacdc6de2be376f3528bfe5dcf0db --- bluepyemodel/emodel_pipeline/plotting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bluepyemodel/emodel_pipeline/plotting.py b/bluepyemodel/emodel_pipeline/plotting.py index bde8b6fa..59aec901 100644 --- a/bluepyemodel/emodel_pipeline/plotting.py +++ b/bluepyemodel/emodel_pipeline/plotting.py @@ -173,9 +173,9 @@ def optimisation( title = get_title(emodel, iteration, seed) axs[0, 0].set_title(title) - axs[0, 0].plot(ngen, run["logbook"].select("min"), label="Minimum", c="grey") + axs[0, 0].plot(ngen, run["logbook"].select("min"), label="Minimum", c="black") - axs[0, 0].plot(ngen, run["logbook"].select("avg"), label="Average", c="black") + axs[0, 0].plot(ngen, run["logbook"].select("avg"), label="Average", c="grey") axs[0, 0].set_yscale("log") axs[0, 0].set_xlabel("Number of generations")