From 6df308e93a6ae50ee51975cc69230dd2b1c416de Mon Sep 17 00:00:00 2001
From: Chang Huan Lo <changhuan.lo@ucl.ac.uk>
Date: Tue, 29 Oct 2024 11:56:45 +0000
Subject: [PATCH] Apply suggestions from code review

Co-authored-by: Niko Sirmpilatze <niko.sirbiladze@gmail.com>
---
 movement/kinematics.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/movement/kinematics.py b/movement/kinematics.py
index 53de27bbc..6c13c5e9f 100644
--- a/movement/kinematics.py
+++ b/movement/kinematics.py
@@ -486,8 +486,8 @@ def compute_pairwise_distances(
 
     Examples
     --------
-    Compute the Euclidean distance (default) for all keypoints
-    between ``ind1`` and ``ind2`` (i.e. interindividual distance):
+    Compute the Euclidean distance (default) between ``ind1`` and ``ind2``
+    (i.e. interindividual distance), for all possible pairs of keypoints.
 
     >>> position = xr.DataArray(
     ...     np.arange(36).reshape(2, 3, 3, 2),
@@ -520,8 +520,7 @@ def compute_pairwise_distances(
     >>> dist_ind1_ind2.sel(ind1="key1", ind2="key2")
 
     Compute the Euclidean distance (default) between ``key1`` and ``key2``
-    for all pairs of individuals and within each individual
-    (i.e. interkeypoint distance):
+    (i.e. interkeypoint distance), for all possible pairs of individuals.
 
     >>> dist_key1_key2 = compute_pairwise_distances(
     ...     position, "keypoints", {"key1": "key2"}