def _get_mpl_ax(plot, axes):
    """
    Returns MPL Axes that contains the `axes`.

    The space of the first DataAxis in axes will be used to determine which
    plot's matplotlib Axes to return.

    Arguments:
    ----------
        plot : MPL_HyperExplorer
            The explorer that contains the navigation and signal plots
        axes : collection of DataAxis
            The axes to infer from.
    """
    if axes[0].navigate:
        ax = plot.navigator_plot.ax
    elif len(axes) == 2 and axes[1].navigate:
        ax = plot.navigator_plot.ax
    else:
        ax = plot.signal_plot.ax
    return ax
