From 68b185a61664d26a2c28347eaf15ca3de815cc3b Mon Sep 17 00:00:00 2001 From: Felix Kleinert <f.kleinert@fz-juelich.de> Date: Tue, 19 Oct 2021 09:20:40 +0200 Subject: [PATCH] fix type in plot: PlotSampleUncertaintyFromBootstrap --- mlair/plotting/postprocessing_plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py index 8ed634b6..7080a6b6 100644 --- a/mlair/plotting/postprocessing_plotting.py +++ b/mlair/plotting/postprocessing_plotting.py @@ -1055,7 +1055,7 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): ax.set_ylabel(f"{self.error_measure} (in {self.error_unit})") ax.set_xticklabels(ax.get_xticklabels(), rotation=45) elif orientation == "h": - ax.set_xlabel(f"{self.error_measure} (in {self.error_unit})") + ax.set_xlabel(f"{self.error_measure} (in {self.error_unit})") else: raise ValueError(f"orientation must be `v' or `h' but is: {orientation}") text_box = AnchoredText(f"n={n_boots}", frameon=True, loc=4, pad=0.5) -- GitLab