code: def set_range_x(self,val):
          
          d = self.declaration
          if d.auto_range[0]:
              return
          self.widget.setXRange(*val,padding=0)
docs: Set visible range of x data. 
          
          Note: Padding must be 0 or it will create an infinite loop