code: def _display_value_horizontal(self, value):
          
          if self._showvalue:
              self.label.configure(text=self._formatter.format(float(value)))
              self.update_idletasks()
              if self._labelpos in ['n', 's']:
                  # position (in pixel) of the center of the slider
                  x = self.convert_to_pixels(float(value))
                  # pay attention to the borders
                  half_width = self.label.winfo_width() / 2
                  if x + half_width > self.scale.winfo_width():
                      x = self.scale.winfo_width() - half_width
                  elif x - half_width < 0:
                      x = half_width
                  self.label.place_configure(x=x)
docs: Display the current value and update the label position.