summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_OT_1D.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
commit062071b20d1d40c64bb619931bd11bd28e780485 (patch)
tree74bfcd48bb65304c2a5be74c24cdff29bd82ba4b /docs/source/auto_examples/plot_OT_1D.py
parent212f3889b1114026765cda0134e02766daa82af2 (diff)
update example with rst titles
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