def drange(min_, max_):
    """Generate list of float values in a specified range.

    Parameters
    ----------
    min_ : float
        Min value

    max_ : float
        Max value

    Returns
    -------
    range_ : list
        list of float values in the min_ max_ range
    
    """

    step = float(max_ - min_) /8.0
    range_ = []

    while min_ <= max_:

        range_.append(float('%.3f' % round(min_, 3)))
        min_ += step
    return range_