def set(self, lo, hi):
        if float(lo) <= 0.0 and float(hi) >= 1.0:
            # grid_remove is currently missing from Tkinter...
            self.tk.call("grid", "remove", self)
        else:
            self.grid()
        ttk.Scrollbar.set(self, lo, hi)
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/widgets/autoscrollbar.py/AutoScrollbar.set/original