def METHOD_NAME(*args, **kwargs):
    plot_object = kwargs.pop('plot_object') if 'plot_object' in kwargs else None
    orientation, idx = func(*args, **kwargs)
    if plot_object is not None:
        if isinstance(plot_object, GemPyToVista):
            if plot_object.live_updating is True:
                plot_object.render_add_orientations(idx)
        else:
            raise AttributeError('plot_object must be one GemPy compatible plot')
    return orientation