From 0044bfc62a3a12fb7bd2be36d250dad3706b69a8 Mon Sep 17 00:00:00 2001
From: Felix Kleinert <f.kleinert@fz-juelich.de>
Date: Wed, 21 Oct 2020 14:48:03 +0200
Subject: [PATCH] rotate xticks for boot_plot

---
 src/plotting/postprocessing_plotting.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plotting/postprocessing_plotting.py b/src/plotting/postprocessing_plotting.py
index 1cab3a60..5c72b475 100644
--- a/src/plotting/postprocessing_plotting.py
+++ b/src/plotting/postprocessing_plotting.py
@@ -675,6 +675,7 @@ class PlotBootstrapSkillScore(AbstractPlotClass):
         sns.boxplot(x=self._x_name, y="data", hue="ahead", data=self._data, ax=ax, whis=1., palette="Blues_d",
                     showmeans=True, meanprops={"markersize": 1, "markeredgecolor": "k"}, flierprops={"marker": "."})
         ax.axhline(y=0, color="grey", linewidth=.5)
+        plt.xticks(rotation=45)
         ax.set(ylabel=f"skill score", xlabel="", title="summary of all stations")
         handles, _ = ax.get_legend_handles_labels()
         ax.legend(handles, self._labels)
-- 
GitLab