def set_range_y(self,val):
        """ Set visible range of y data. 
        
        Note: Padding must be 0 or it will create an infinite loop
        
        """
        d = self.declaration
        if d.auto_range[1]:
            return
        self.widget.setYRange(*val,padding=0)