diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py index 8ef634ef174ac7e91fd76ad5f6aa7645893d0571..2abdbecbd45f187179598e69c8d286280106e35b 100644 --- a/mlair/plotting/postprocessing_plotting.py +++ b/mlair/plotting/postprocessing_plotting.py @@ -639,11 +639,10 @@ class PlotSectorialSkillScore(AbstractPlotClass): # pragma: no cover data = self._data sns.boxplot(x="sector", y="data", hue="ahead", data=data, whis=1, ax=ax, palette="Blues_d", showmeans=True, meanprops={"markersize": 3, "markeredgecolor": "k"}, flierprops={"marker": "."}, - ylim=self._lim(data) ) ax.axhline(y=0, color="grey", linewidth=.5) ax.set(ylabel=f"skill score ({self._model_setup} vs. {self._reference_model})", xlabel="sector", - title="summary of all stations") + title="summary of all stations", ylim=self._lim(data)) handles, _ = ax.get_legend_handles_labels() plt.xticks(rotation=45, horizontalalignment="right") ax.legend(handles, self._labels) @@ -655,11 +654,10 @@ class PlotSectorialSkillScore(AbstractPlotClass): # pragma: no cover data = self._data sns.boxplot(y="sector", x="data", hue="ahead", data=data, whis=1.5, ax=ax, palette="Blues_d", showmeans=True, meanprops={"markersize": 3, "markeredgecolor": "k"}, flierprops={"marker": "."}, - xlim=self._lim(data) - ) + ) ax.axvline(x=0, color="grey", linewidth=.5) ax.set(xlabel=f"skill score ({self._model_setup} vs. {self._reference_model})", ylabel="sector", - title="summary of all stations") + title="summary of all stations", xlim=self._lim(data)) handles, _ = ax.get_legend_handles_labels() ax.legend(handles, self._labels) plt.tight_layout()