diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py index 4799687f322b652562327a1f18e4c3d1abffd814..edbdc8efc3b4a02c0bc81275f98fe1390fc0c135 100644 --- a/mlair/plotting/postprocessing_plotting.py +++ b/mlair/plotting/postprocessing_plotting.py @@ -1105,31 +1105,13 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover self.plot_name = default_name + name_tag self._plot(orientation=orientation, apply_u_test=utest) - # self._plot(orientation="v", apply_u_test=False) - # - # self.plot_name = default_name + "_u_test" - # self._plot(orientation="v", apply_u_test=True) - # - # self.plot_name = default_name + "_horizontal" - # self._plot(orientation="h", apply_u_test=False) - # - # self.plot_name = default_name + "_horizontal_u_test" - # self._plot(orientation="h", apply_u_test=True) - self._apply_root() - variants = [(tag+"_sqrt", ori, ut) for tag, ori, ut in variants] for name_tag, orientation, utest in variants: self.plot_name = default_name + name_tag self._plot(orientation=orientation, apply_u_test=utest) - # self.plot_name = default_name + "_sqrt" - # self._plot(orientation="v") - # - # self.plot_name = default_name + "_horizontal_sqrt" - # self._plot(orientation="h") - self._data_table = None self._n_boots = None @@ -1188,10 +1170,9 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover else: raise ValueError(f"orientation must be `v' or `h' but is: {orientation}") text = f"n={n_boots}" if self.block_length is None else f"{self.block_length}, n={n_boots}" - # loc = "upper right" if orientation == "h" else "upper left" loc = "lower left" text_box = AnchoredText(text, frameon=True, loc=loc, pad=0.5, bbox_to_anchor=(0., 1.0), - bbox_transform=ax.transAxes) + bbox_transform=ax.transAxes) plt.setp(text_box.patch, edgecolor='k', facecolor='w') ax.add_artist(text_box) plt.setp(ax.lines, color='k')