diff --git a/Inst_eddies/Analysis/distribution_function.py b/Inst_eddies/Analysis/distribution_function.py index 60f42ac9a1c75d9410197862aa150fce4a7a7a6b..9a0a4b82884977c219b6d8c6f89894f01840d659 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. """