def METHOD_NAME(*args, **kwargs):
    if "sharexy" in kwargs:
        assert ("sharex" not in kwargs) and (
            "sharey" not in kwargs
        ), "Cannot specify sharexy with sharex or sharey"
        kwargs["sharex"] = kwargs["sharey"] = kwargs.pop("sharexy")
    return fn(*args, **kwargs)