def do(self, cmd):
        logging.getLogger(__name__).debug("Do %s", cmd)
        self._command_stack.append(cmd)
        result = cmd.do(self._session)
        self._command_stack = self._command_stack[-MAX_UNDO:]
        self._undo_stack = []
        self.notify('do')
        return result
This method takes a list of settings set by the Statsite program,
dataset/ETHPy150Open glue-viz/glue/glue/core/command.py/CommandStack.do--crossover with--dataset/ETHPy150Open kiip/statsite/statsite/aggregator.py/Aggregator._load_metric_settings