Skip to content
Snippets Groups Projects
Commit 0044bfc6 authored by Felix Kleinert's avatar Felix Kleinert
Browse files

rotate xticks for boot_plot

parent 21c63351
Branches
No related tags found
2 merge requests!171Develop intelli o3 ts,!170Resolve "Enlarge axis labels"
Pipeline #49389 passed
...@@ -675,6 +675,7 @@ class PlotBootstrapSkillScore(AbstractPlotClass): ...@@ -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", 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": "."}) showmeans=True, meanprops={"markersize": 1, "markeredgecolor": "k"}, flierprops={"marker": "."})
ax.axhline(y=0, color="grey", linewidth=.5) ax.axhline(y=0, color="grey", linewidth=.5)
plt.xticks(rotation=45)
ax.set(ylabel=f"skill score", xlabel="", title="summary of all stations") ax.set(ylabel=f"skill score", xlabel="", title="summary of all stations")
handles, _ = ax.get_legend_handles_labels() handles, _ = ax.get_legend_handles_labels()
ax.legend(handles, self._labels) ax.legend(handles, self._labels)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment