From a559c5e90cbb9d047e13ac9b490f6aee20da2818 Mon Sep 17 00:00:00 2001 From: lukas leufen <l.leufen@fz-juelich.de> Date: Tue, 11 Feb 2020 11:12:52 +0100 Subject: [PATCH] bugfix, uncommented statements (was commented for development) --- src/plotting/postprocessing_plotting.py | 2 ++ src/run_modules/post_processing.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plotting/postprocessing_plotting.py b/src/plotting/postprocessing_plotting.py index 4c5d5ca0..0b68a8f4 100644 --- a/src/plotting/postprocessing_plotting.py +++ b/src/plotting/postprocessing_plotting.py @@ -21,6 +21,8 @@ import cartopy.feature as cfeature from matplotlib.backends.backend_pdf import PdfPages from typing import Dict, List, Tuple +from pandas.plotting import register_matplotlib_converters +register_matplotlib_converters() logging.getLogger('matplotlib').setLevel(logging.WARNING) diff --git a/src/run_modules/post_processing.py b/src/run_modules/post_processing.py index 37651d0c..01a7adaa 100644 --- a/src/run_modules/post_processing.py +++ b/src/run_modules/post_processing.py @@ -46,7 +46,7 @@ class PostProcessing(RunEnvironment): self.make_prediction() logging.info("take a look on the next reported time measure. If this increases a lot, one should think to " "skip make_prediction() whenever it is possible to save time.") - # self.skill_scores = self.calculate_skill_scores() + self.skill_scores = self.calculate_skill_scores() self.plot() def _load_model(self): -- GitLab