summaryrefslogtreecommitdiff
path: root/examples/plot_barycenter_lp_vs_entropic.py
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2019-07-25 08:22:52 +0200
committerGitHub <noreply@github.com>2019-07-25 08:22:52 +0200
commitb2157e9b3458388571f6ae87d80f47f500dfa166 (patch)
tree90235b80ff39285110a675e3f2cc14c15757a5f8 /examples/plot_barycenter_lp_vs_entropic.py
parentc64906b70d6059fd56836e8f760f4a836867d51b (diff)
parent4709849bcc624d5e5c33755b997c56998f43d3e9 (diff)
Merge pull request #98 from kilianFatras/master
[MRG] corrected typos in barycenter examples
Diffstat (limited to 'examples/plot_barycenter_lp_vs_entropic.py')
-rw-r--r--examples/plot_barycenter_lp_vs_entropic.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/plot_barycenter_lp_vs_entropic.py b/examples/plot_barycenter_lp_vs_entropic.py
index b82765e..d7c72d0 100644
--- a/examples/plot_barycenter_lp_vs_entropic.py
+++ b/examples/plot_barycenter_lp_vs_entropic.py
@@ -102,7 +102,7 @@ pl.tight_layout()
problems.append([A, [bary_l2, bary_wass, bary_wass2]])
##############################################################################
-# Dirac Data
+# Stair Data
# ----------
#%% parameters
@@ -168,6 +168,11 @@ pl.legend()
pl.title('Barycenters')
pl.tight_layout()
+
+##############################################################################
+# Dirac Data
+# ----------
+
#%% parameters
a1 = np.zeros(n)