def date_breaks(width):
    period, units = parse_break_str(width)
    Locator = LOCATORS.get(units)
    locator = Locator(interval=period)
    return locator
"Regularly spaced dates."
dataset/ETHPy150Open yhat/ggplot/ggplot/utils/date_breaks.py/date_breaks