summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_OT_1D.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_OT_1D.py')
-rw-r--r--docs/source/auto_examples/plot_OT_1D.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/source/auto_examples/plot_OT_1D.py b/docs/source/auto_examples/plot_OT_1D.py
index be6f5b3..a63f29a 100644
--- a/docs/source/auto_examples/plot_OT_1D.py
+++ b/docs/source/auto_examples/plot_OT_1D.py
@@ -4,6 +4,9 @@
1D optimal transport
====================
+This example illustrates the computation of EMD and Sinkhorn transport plans
+and their visualization.
+
"""
# Author: Remi Flamary <remi.flamary@unice.fr>
@@ -52,7 +55,7 @@ pl.figure(2, figsize=(5, 5))
ot.plot.plot1D_mat(a, b, M, 'Cost matrix M')
##############################################################################
-# Solve EMD
+# Solve EMD
##############################################################################
#%% EMD