def clear_console_line(out=sys.stdout, length=PROGRESS_BAR_WIDTH):
    out.write("%s" % (" " * length))
    out.flush()
Part of the optimization algorithm in `scalar_search_wolfe2`.
dataset/ETHPy150Open bigmlcom/python/bigml/util.py/clear_console_line--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/optimize/linesearch.py/_zoom