def METHOD_NAME(reorder):
    from ..matrix_plotting import _sanitize_reorder
    with pytest.raises(
        ValueError, match=("Parameter reorder needs to be one of")
    ):
        _sanitize_reorder(reorder)