From 281412f5395d0350cfef94eb3b49dceab6764f36 Mon Sep 17 00:00:00 2001 From: "edward.safford" Date: Tue, 30 Jul 2024 18:27:56 +0000 Subject: [PATCH 1/2] Ref #201 Fix horizontal line config error. --- .../plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py b/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py index 61be4af..71c3316 100644 --- a/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py +++ b/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py @@ -43,7 +43,8 @@ def configure_plot(self): delvars = ['type', 'schema'] for d in delvars: new_config.pop(d, None) - self.plotobj = update_object(self.plotobj, self.config, self.logger) + + self.plotobj = update_object(self.plotobj, new_config, self.logger) return self.plotobj From 648da0179bac50a73fb1b0ce09505880a954b193 Mon Sep 17 00:00:00 2001 From: "edward.safford" Date: Tue, 30 Jul 2024 18:31:02 +0000 Subject: [PATCH 2/2] Ref #203 Pycode style fix. --- .../plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py b/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py index 71c3316..fd670d6 100644 --- a/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py +++ b/src/eva/plotting/batch/emcpy/diagnostics/emcpy_horizontal_line.py @@ -43,7 +43,6 @@ def configure_plot(self): delvars = ['type', 'schema'] for d in delvars: new_config.pop(d, None) - self.plotobj = update_object(self.plotobj, new_config, self.logger) return self.plotobj