summaryrefslogtreecommitdiff
path: root/examples/plot_OT_L1_vs_L2.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:38:16 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 17:38:16 +0200
commitfd76b98726b8f22606d93bb24dc539967472f4a0 (patch)
tree042f0664291eea89d4a737ada2d7b045fc338a8f /examples/plot_OT_L1_vs_L2.py
parente800103299d79cf462c89f34647e7741014c5571 (diff)
titlke for notebooks
Diffstat (limited to 'examples/plot_OT_L1_vs_L2.py')
-rw-r--r--examples/plot_OT_L1_vs_L2.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/plot_OT_L1_vs_L2.py b/examples/plot_OT_L1_vs_L2.py
index 49d37e1..090e809 100644
--- a/examples/plot_OT_L1_vs_L2.py
+++ b/examples/plot_OT_L1_vs_L2.py
@@ -22,7 +22,7 @@ import ot
##############################################################################
# Dataset 1 : uniform sampling
-##############################################################################
+# ----------------------------
n = 20 # nb samples
xs = np.zeros((n, 2))
@@ -73,7 +73,7 @@ pl.tight_layout()
##############################################################################
# Dataset 1 : Plot OT Matrices
-##############################################################################
+# ----------------------------
#%% EMD
@@ -114,7 +114,7 @@ pl.show()
##############################################################################
# Dataset 2 : Partial circle
-##############################################################################
+# --------------------------
n = 50 # nb samples
xtot = np.zeros((n + 1, 2))
@@ -168,7 +168,7 @@ pl.tight_layout()
##############################################################################
# Dataset 2 : Plot OT Matrices
-##############################################################################
+# -----------------------------
#%% EMD