summaryrefslogtreecommitdiff
path: root/examples/plot_compute_emd.py
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-07-09 08:50:11 +0200
committerGard Spreemann <gspr@nonempty.org>2020-07-09 08:50:11 +0200
commit616c6039614e96b6cfd88eb7db25ce11c7302c30 (patch)
treea745ec24604f660b256dbaee214affa497c9c21e /examples/plot_compute_emd.py
parentd62f05daf348b4e554056f298c66cbd64f5e3c6e (diff)
parenta16b9471d7114ec08977479b7249efe747702b97 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'examples/plot_compute_emd.py')
-rw-r--r--examples/plot_compute_emd.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/plot_compute_emd.py b/examples/plot_compute_emd.py
index 7ed2b01..527a847 100644
--- a/examples/plot_compute_emd.py
+++ b/examples/plot_compute_emd.py
@@ -4,8 +4,8 @@
Plot multiple EMD
=================
-Shows how to compute multiple EMD and Sinkhorn with two differnt
-ground metrics and plot their values for diffeent distributions.
+Shows how to compute multiple EMD and Sinkhorn with two different
+ground metrics and plot their values for different distributions.
"""
@@ -14,6 +14,8 @@ ground metrics and plot their values for diffeent distributions.
#
# License: MIT License
+# sphinx_gallery_thumbnail_number = 3
+
import numpy as np
import matplotlib.pylab as pl
import ot