def _polish_figure(ax, fig_options=None):
    """
    Polishes a finished figure.

    Parameters
    ----------
    ax : matplotlib.Axes
        The ax to polish
    fig_options : dict, optional
        Options to be applied after the figure has been created. Supported:
        "legend_loc" : string
            Location for the legend. Default is "upper right"
    """
    if fig_options is None:
        fig_options = {}
    legend_loc = fig_options.get('legend_loc', 'upper right')
    if legend_loc == 'no':
        pass
    else:
        ax.legend(loc=legend_loc)
