diff options
Diffstat (limited to 'examples/plot_OT_L1_vs_L2.py')
-rw-r--r-- | examples/plot_OT_L1_vs_L2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/plot_OT_L1_vs_L2.py b/examples/plot_OT_L1_vs_L2.py index 090e809..37b429f 100644 --- a/examples/plot_OT_L1_vs_L2.py +++ b/examples/plot_OT_L1_vs_L2.py @@ -19,6 +19,7 @@ https://arxiv.org/pdf/1706.07650.pdf import numpy as np import matplotlib.pylab as pl import ot +import ot.plot ############################################################################## # Dataset 1 : uniform sampling @@ -52,7 +53,7 @@ pl.clf() pl.plot(xs[:, 0], xs[:, 1], '+b', label='Source samples') pl.plot(xt[:, 0], xt[:, 1], 'xr', label='Target samples') pl.axis('equal') -pl.title('Source and traget distributions') +pl.title('Source and target distributions') # Cost matrices |