def plot_cdr_to_axis(axis, times, detected_proportions, alpha=1.0, line_width=0.7):
    """
    Plot a set of CDR curves to an axis
    """

    for i_curve in range(len(detected_proportions)):
        axis.plot(
            times,
            [detected_proportions[i_curve](i_time) for i_time in times],
            color="k",
            linewidth=line_width,
            alpha=alpha,
        )
    return axis