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 17:55:32 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:55:32 +0200
commit8ea3504c3bfe9c9440982f8ad0d172a240d54aff (patch)
tree7e3241cf4d81869610feea53f165407767614846 /docs/source/auto_examples/plot_OT_1D.py
parentfd76b98726b8f22606d93bb24dc539967472f4a0 (diff)
good notebook format generated by sphinx gallery
Diffstat (limited to 'docs/source/auto_examples/plot_OT_1D.py')
-rw-r--r--docs/source/auto_examples/plot_OT_1D.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/source/auto_examples/plot_OT_1D.py b/docs/source/auto_examples/plot_OT_1D.py
index 36f823f..719058f 100644
--- a/docs/source/auto_examples/plot_OT_1D.py
+++ b/docs/source/auto_examples/plot_OT_1D.py
@@ -41,7 +41,7 @@ M /= M.max()
##############################################################################
# Plot distributions and loss matrix
-###################################
+# ----------------------------------
#%% plot the distributions
@@ -57,7 +57,8 @@ ot.plot.plot1D_mat(a, b, M, 'Cost matrix M')
##############################################################################
# Solve EMD
-##############################################################################
+# ---------
+
#%% EMD
@@ -68,7 +69,8 @@ ot.plot.plot1D_mat(a, b, G0, 'OT matrix G0')
##############################################################################
# Solve Sinkhorn
-##############################################################################
+# --------------
+
#%% Sinkhorn