def bar(f):

    def wrapper(*args, **kwargs):
        f(*new_args, **new_kwargs)
return
return wrapper

@bar
def foo(*new_args, **new_kwargs):
    return mpl.colorbar.ColorbarBase(*new_args, **new_kwargs)
Keeping function call signatures consistent for a function that accepts a superset of another function's arguments