def baseOn(self, *args):
        """
        Sets the given parameters in this grid to fixed values.
        Accepts either a parameter dictionary or a list of (parameter, value) pairs.
        """
        if isinstance(args[0], dict):
            self.baseOn(*args[0].items())
        else:
            for (param, value) in args:
                self.addGrid(param, [value])

        return self
def baseOn ( self , * args ) : if isinstance ( args [ 0 ] , dict ) : self . baseOn ( * args [ 0 ] . items ( ) ) else : for ( param , value ) in args : self . addGrid ( param , [ value ] ) return self
Sets the given parameters in this grid to fixed values.
        Accepts either a parameter dictionary or a list of (parameter, value) pairs.