def log_spacing(integer):
    m = math.sqrt(10)
    if integer == 0:
        return 0
    return m ** math.floor(math.log(integer, m))
dataset/ETHPy150Open atl/twitstream/examples/stats.py/log_spacing/original