def expand_to_include(self, *args): 
        # We provide a number of different signatures for this method, 
        # and the logic here is all about converting them into a 
        # 4-tuple single parameter which does the actual work of 
        # expanding the envelope. 
        if len(args) == 1: 
            if isinstance(args[0], Envelope): 
                return self.expand_to_include(args[0].tuple) 
            elif hasattr(args[0], 'x') and hasattr(args[0], 'y'):
                return self.expand_to_include(args[0].x, args[0].y, args[0].x, args[0].y) 
            elif isinstance(args[0], (tuple, list)): 
                # A tuple was passed in. 
                if len(args[0]) == 2: 
                    return self.expand_to_include((args[0][0], args[0][1], args[0][0], args[0][1])) 
                elif len(args[0]) == 4: 
                    (minx, miny, maxx, maxy) = args[0] 
                    if minx < self._envelope.MinX: 
                        self._envelope.MinX = minx 
                    if miny < self._envelope.MinY: 
                        self._envelope.MinY = miny 
                    if maxx > self._envelope.MaxX: 
                        self._envelope.MaxX = maxx 
                    if maxy > self._envelope.MaxY: 
                        self._envelope.MaxY = maxy 
                else: 
                    raise OGRException('Incorrect number of tuple elements (%d).' % len(args[0])) 
            else: 
                raise TypeError('Incorrect type of argument: %s' % str(type(args[0]))) 
        elif len(args) == 2: 
            # An x and an y parameter were passed in 
                return self.expand_to_include((args[0], args[1], args[0], args[1])) 
        elif len(args) == 4: 
            # Individual parameters passed in.
            return self.expand_to_include(args) 
        else: 
            raise OGRException('Incorrect number (%d) of arguments.' % len(args[0]))
Applies the plugin-based panel configurations.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/gdal/envelope.py/Envelope.expand_to_include--crossover with--dataset/ETHPy150Open CiscoSystems/avos/horizon/base.py/Site._load_panel_customization