class_docstr: A scrollbar that is automatically hidden when not needed.
  
  Only the grid geometry manager is supported.
code: def set(self, lo, hi):
      if float(lo) > 0.0 or float(hi) < 1.0:
          self.grid()
      else:
          self.grid_remove()
      super().set(lo, hi)
  
imports: from tkinter import Toplevel, Text, TclError, HORIZONTAL, VERTICAL, NS, EW, NSEW, NONE, WORD, SUNKEN
  from tkinter.ttk import Frame, Scrollbar, Button
  from tkinter.messagebox import showerror
  from idlelib.colorizer import color_config
label_desc: Use image node_id 1 for calling the AutoHideScrollbar obj's underlying member method code with example usage: obj.set(lo, hi) without return types