code: def set(self, lo, hi):
          
          if float(lo) <= 0.0 and float(hi) >= 1.0:
              if self._layout == 'place':
                  self.place_forget()
              elif self._layout == 'pack':
                  self.pack_forget()
              else:
                  self.grid_remove()
          else:
              if self._layout == 'place':
                  self.place(**self._place_kw)
              elif self._layout == 'pack':
                  self.pack(**self._pack_kw)
              else:
                  self.grid()
          ttk.Scrollbar.set(self, lo, hi)
docs: Set the fractional values of the slider position.
          
          :param lo: lower end of the scrollbar (between 0 and 1)
          :type lo: float
          :param hi: upper end of the scrollbar (between 0 and 1)
          :type hi: float