summaryrefslogtreecommitdiff
path: root/examples/plot_barycenter_lp_vs_entropic.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-05-14 17:03:36 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-05-14 17:03:36 +0200
commit3f1482238925932bb6c9c606651427491a65365c (patch)
treead0dbd0e72cae09415c78f0c5f973816595e46bf /examples/plot_barycenter_lp_vs_entropic.py
parent8ba983dea4a44fdf9946e4031db621815852394c (diff)
last change example
Diffstat (limited to 'examples/plot_barycenter_lp_vs_entropic.py')
-rw-r--r--examples/plot_barycenter_lp_vs_entropic.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/plot_barycenter_lp_vs_entropic.py b/examples/plot_barycenter_lp_vs_entropic.py
index 3a65449..6936bbb 100644
--- a/examples/plot_barycenter_lp_vs_entropic.py
+++ b/examples/plot_barycenter_lp_vs_entropic.py
@@ -278,7 +278,7 @@ for i in range(nbm):
pl.xticks(())
pl.yticks(())
- pl.subplot(2, nbm, 1 + i)
+ pl.subplot(2, nbm, 1 + i + nbm)
pl.plot(x, bary_l2, 'r', label='L2 (Euclidean)')
pl.plot(x, bary_wass, 'g', label='Reg Wasserstein')
@@ -287,3 +287,6 @@ for i in range(nbm):
pl.legend()
if i == nbm2:
pl.title('Barycenters')
+
+ pl.xticks(())
+ pl.yticks(())