def METHOD_NAME(
    data: MetatlasDataset,
    compound_idx: int = 0,
    width: float = 15,
    height: float = 3,
    alpha: float = 0.5,
    colors="",
    adjustable_rt_peak=False,
    peak_flags=None,
    msms_flags=None,
) -> Optional[dp.adjust_rt_for_selected_compound]:
    """
    Opens the interactive GUI for setting RT bounds and annotating peaks
    inputs:
        compound_idx: number of compound-adduct pair to start at
        width: width of interface in inches
        height: height of each plot in inches
        alpha: (0-1] controls transparency of lines on EIC plot
        colors: list (color_id, search_string) for coloring lines on EIC plot
                based on search_string occuring in LCMS run filename
        adjustable_rt_peak: allow RT peak marker to be moved
        peak_flags: list of strings that define radio buttons for EIC plot
                    None or '' gets a default set of buttons
        msms_flags: list of strings that define radio buttons for MSMS plot
                    None or '' gets a default set of buttons
    """
    display(dp.LOGGING_WIDGET)  # surface event handler error messages in UI
    return dp.adjust_rt_for_selected_compound(
        data,
        msms_hits=data.hits,
        color_me=colors,
        compound_idx=compound_idx,
        alpha=alpha,
        width=width,
        height=height,
        adjustable_rt_peak=adjustable_rt_peak,
        peak_flags=peak_flags,
        msms_flags=msms_flags,
    )