diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
index 8a38565ec86bca2d2c841e363e34e2328b7e475c..070cb236d537f3d42954c46c46e1bf913ff17620 100644
--- a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
@@ -240,7 +240,7 @@ class PlottingAxes:
             # and won't be changed in set_lim, then don't need to assign a
             # variable for it.
             # bottom
-            ax.bottom_total_points_lbl = ax.text(
+            ax.bottom_total_point_lbl = ax.text(
                 1.005, sample_no_pos[0],
                 sample_no_list[0],
                 horizontalalignment='left',
@@ -251,7 +251,7 @@ class PlottingAxes:
                 size=self.parent.font_size
             )
             # top
-            ax.top_total_points_lbl = ax.text(
+            ax.top_total_point_lbl = ax.text(
                 1.005, sample_no_pos[1],
                 sample_no_list[1],
                 horizontalalignment='left',