From a792233a41bc16d2ab3102212986fcdcccc9d9ad Mon Sep 17 00:00:00 2001
From: Felix Kleinert <f.kleinert@fz-juelich.de>
Date: Tue, 25 Jan 2022 18:58:56 +0100
Subject: [PATCH] remove some old comments

---
 mlair/plotting/postprocessing_plotting.py | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py
index 4799687f..edbdc8ef 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')
-- 
GitLab