summaryrefslogtreecommitdiff
path: root/examples/plot_barycenter_lp_vs_entropic.py
diff options
context:
space:
mode:
authorNicolas Courty <ncourty@irisa.fr>2020-02-28 11:46:51 +0100
committerGitHub <noreply@github.com>2020-02-28 11:46:51 +0100
commit00535f30ba5374f95df0a9f0781a12bea37abf63 (patch)
treeff4d363ce36677928d9d828c26148c3eac07a5da /examples/plot_barycenter_lp_vs_entropic.py
parente23f4d0646a3e8d28cc146c28574359585295249 (diff)
parent81e9d425b905b1b7fc0ee888556e60c692d9bb18 (diff)
Merge branch 'master' into osx-issue
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)