summaryrefslogtreecommitdiff
path: root/examples/plot_Intro_OT.py
diff options
context:
space:
mode:
authorOleksii Kachaiev <kachayev@gmail.com>2023-05-03 10:36:09 +0200
committerGitHub <noreply@github.com>2023-05-03 10:36:09 +0200
commit2aeb591be6b19a93f187516495ed15f1a47be925 (patch)
tree9a6f759856a3f6b2d7c6db3514927ba3e5af10b5 /examples/plot_Intro_OT.py
parent8a7035bdaa5bb164d1c16febbd83650d1fb6d393 (diff)
[DOC] Corrected spelling errors (#467)
* Fix typos in docstrings and examples * A few more fixes * Fix ref for `center_ot_dual` function * Another typo * Fix titles formatting * Explicit empty line after math blocks * Typo: asymmetric * Fix code cell formatting for 1D barycenters * Empirical * Fix indentation for references * Fixed all WARNINGs about title formatting * Fix empty lines after math blocks * Fix whitespace line * Update changelog * Consistent Gromov-Wasserstein * More Gromov-Wasserstein consistency --------- Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
Diffstat (limited to 'examples/plot_Intro_OT.py')
-rw-r--r--examples/plot_Intro_OT.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/plot_Intro_OT.py b/examples/plot_Intro_OT.py
index 219aa51..1c51360 100644
--- a/examples/plot_Intro_OT.py
+++ b/examples/plot_Intro_OT.py
@@ -67,7 +67,7 @@ help(ot.dist)
# We extracted from this search their positions and generated fictional
# production and sale number (that both sum to the same value).
#
-# We have acess to the position of Bakeries ``bakery_pos`` and their
+# We have access to the position of Bakeries ``bakery_pos`` and their
# respective production ``bakery_prod`` which describe the source
# distribution. The Cafés where the croissants are sold are defined also by
# their position ``cafe_pos`` and ``cafe_prod``, and describe the target
@@ -166,10 +166,10 @@ time_emd = time.time() - start
# The function returns the transport matrix, which we can then visualize (next section).
##############################################################################
-# Transportation plan vizualization
+# Transportation plan visualization
# `````````````````````````````````
#
-# A good vizualization of the OT matrix in the 2D plane is to denote the
+# A good visualization of the OT matrix in the 2D plane is to denote the
# transportation of mass between a Bakery and a Café by a line. This can easily
# be done with a double ``for`` loop.
#