diff --git a/src/plotting/postprocessing_plotting.py b/src/plotting/postprocessing_plotting.py index 4c5d5ca0f9a9c26d0b8085e89e4bbacf2525e33a..0b68a8f436454a5a2570e4109ecb4915addbaefc 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 37651d0cf38f8d669018c5fbd5bcd113115905b1..01a7adaad0f2efbe978253c3c8323529ab8314a3 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):