From 330c10686a942f22fb7bde5729df0cb0506c97e1 Mon Sep 17 00:00:00 2001 From: leufen1 <l.leufen@fz-juelich.de> Date: Fri, 9 Apr 2021 13:42:13 +0200 Subject: [PATCH] added tmp prints because limits are still exceeded --- mlair/plotting/postprocessing_plotting.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py index c4f18bfd..68cab25b 100644 --- a/mlair/plotting/postprocessing_plotting.py +++ b/mlair/plotting/postprocessing_plotting.py @@ -752,11 +752,15 @@ class PlotCompetitiveSkillScore(AbstractPlotClass): ax.set(ylabel="skill score", xlabel="competing models", title="summary of all stations", ylim=self._lim()) x_min, x_max = ax.get_xlim() + print("-----------------") + print(ax.get_xlim()) ax.set_xlim([max(x_min, -xlim), min(x_max, xlim)]) handles, _ = ax.get_legend_handles_labels() plt.xticks(rotation=90) + print(ax.get_xlim()) ax.legend(handles, self._labels) plt.tight_layout() + print(ax.get_xlim()) def _plot_vertical(self, single_model_comparison=False, ylim=5): """Plot skill scores of the comparisons, but vertically aligned.""" -- GitLab