summaryrefslogtreecommitdiff
path: root/examples/plot_compute_emd.py
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-07-09 08:49:39 +0200
committerGard Spreemann <gspr@nonempty.org>2020-07-09 08:49:39 +0200
commita16b9471d7114ec08977479b7249efe747702b97 (patch)
tree692f3061d0329cad954206b2bf903ba3384403f0 /examples/plot_compute_emd.py
parent0812fcd82cbf11d444619e96c55ba507bc09ef5d (diff)
parent94d5c8cc9046854f473d8e4526a3bcf214eb5411 (diff)
Merge tag '0.7.0' into dfsg/latest
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