From 032dea79d9a774b2efa24849bd1ef67c188453b5 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Wed, 24 May 2023 12:47:07 +0200
Subject: [PATCH] Polish

---
 Inst_eddies/Analysis/distribution_function.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Inst_eddies/Analysis/distribution_function.py b/Inst_eddies/Analysis/distribution_function.py
index 60f42ac9..9a0a4b82 100755
--- a/Inst_eddies/Analysis/distribution_function.py
+++ b/Inst_eddies/Analysis/distribution_function.py
@@ -59,7 +59,8 @@ def read(dirname):
             "amp_speed": np.abs(np.array(amp_speed))}
 
 def fig_hist(xlabel, x, label):
-    """Complete figure with histogram. x and label can also be sequences."""
+    """Creates a complete figure with histogram. x and label can also be
+    sequences."""
     
     plt.figure()
     plt.hist(x, bins = "auto", histtype = "step", label = label)
@@ -68,8 +69,8 @@ def fig_hist(xlabel, x, label):
     if label is not None: plt.legend()
 
 def fig_distr_funct(xlabel, x, label = None):
-    """Complete figure with distribution function. x must be a sequence of
-    Numpy arrays and label None or a sequence of strings.
+    """Creates a complete figure with distribution function. x must be a
+    sequence of Numpy arrays and label None or a sequence of strings.
 
     """
     
-- 
GitLab