summaryrefslogtreecommitdiff
path: root/examples/plot_barycenter_lp_vs_entropic.py
diff options
context:
space:
mode:
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(())