def log_level(level=None, logger=None):

    if logger is not None:
        logger_ = logger
    else:
        logger_ = logging.getLogger()

    if level is not None:
        level_ = level
    else:
        level_ = logger_.level

    return LogLevelChanger(level_, logger_)
write remaining parts of the plot.
dataset/ETHPy150Open googkit/googkit/googkit/lib/logutil.py/log_level--crossover with--dataset/ETHPy150Open CGATOxford/cgat/scripts/go2svg.py/GoPlot.finalizePlot