diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-02-16 13:53:34 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-02-16 13:53:34 +0100 |
commit | f089a3cbc27c30ba9416ea1659c2fdbac1857146 (patch) | |
tree | 04905ed08da51190f15faa7aff67acb308ee583f /examples/plot_barycenter_1D.py | |
parent | 4a585de94109102c89bcd7ad43e35772e1027cd2 (diff) |
better pep8 but not solved
Diffstat (limited to 'examples/plot_barycenter_1D.py')
-rw-r--r-- | examples/plot_barycenter_1D.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/plot_barycenter_1D.py b/examples/plot_barycenter_1D.py index 620936b..ecf640c 100644 --- a/examples/plot_barycenter_1D.py +++ b/examples/plot_barycenter_1D.py @@ -25,7 +25,7 @@ import ot from mpl_toolkits.mplot3d import Axes3D # noqa from matplotlib.collections import PolyCollection -############################################################################## +# # Generate data # ------------- @@ -48,7 +48,7 @@ n_distributions = A.shape[1] M = ot.utils.dist0(n) M /= M.max() -############################################################################## +# # Plot data # --------- @@ -60,7 +60,7 @@ for i in range(n_distributions): pl.title('Distributions') pl.tight_layout() -############################################################################## +# # Barycenter computation # ---------------------- @@ -90,7 +90,7 @@ pl.legend() pl.title('Barycenters') pl.tight_layout() -############################################################################## +# # Barycentric interpolation # ------------------------- |