def add_global_colorbar(axes_colorbars, figure):
    """
    Add a global colorbar to a figure.

    Parameters
    ----------
    axes_colorbars : dict
    figure : syfigure.Figure
    """
    for ax_id, colorbars in axes_colorbars.items():
        for artist_type, artists in colorbars.items():
            if artists:
                for artist, colorbar_params in artists:
                    if colorbar_params.pop('show', 'False') == 'True':
                        figure.colorbar(artist, **colorbar_params)
                        break
                break
        break
