`affinity` is indeed a similarity but `AffinityPropagation` uses `affinity="euclidean"` by default.