diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
index c6bee01a4b69e99ad754803118f3791ea436be35..b66fa0b8596332f5a4ab5bce0837eb3a4dd097d4 100644
--- a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
@@ -364,9 +364,9 @@ class PlottingWidget(QtWidgets.QScrollArea):
             self.min_x, self.max_x = self.zoom_minmax_list[-2]
             self.zoom_minmax_list.pop()
             self.set_lim(is_zoom_in=False)
-            self.zoom_marker1.set_visible(False)
-            self.zoom_marker2.set_visible(False)
-            self.plotting_axes.canvas.draw()
+        self.zoom_marker1.set_visible(False)
+        self.zoom_marker2.set_visible(False)
+        self.plotting_axes.canvas.draw()
 
     def eventFilter(self, target: QObject, event: QEvent) -> bool:
         """