diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
index 2597715075b0a1b24c9f75465705dc53101b8807..8a38565ec86bca2d2c841e363e34e2328b7e475c 100644
--- a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
@@ -222,7 +222,7 @@ class PlottingAxes:
 
         # set samples' total on right side
         if len(sample_no_list) == 1:
-            ax.center_total_points_lbl = ax.text(
+            ax.center_total_point_lbl = ax.text(
                 1.005, 0.5,
                 sample_no_list[0],
                 horizontalalignment='left',