diff options
-rw-r--r-- | examples/plot_OT_1D.py | 1 | ||||
-rw-r--r-- | examples/plot_OT_L1_vs_L2.py | 1 | ||||
-rw-r--r-- | examples/plot_optim_OTreg.py | 2 | ||||
-rw-r--r-- | examples/plot_otda_d2.py | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/examples/plot_OT_1D.py b/examples/plot_OT_1D.py index 719058f..90325c9 100644 --- a/examples/plot_OT_1D.py +++ b/examples/plot_OT_1D.py @@ -16,6 +16,7 @@ and their visualization. import numpy as np import matplotlib.pylab as pl import ot +import ot.plot from ot.datasets import get_1D_gauss as gauss ############################################################################## diff --git a/examples/plot_OT_L1_vs_L2.py b/examples/plot_OT_L1_vs_L2.py index 090e809..c1ed226 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 diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py index e1a737e..92df016 100644 --- a/examples/plot_optim_OTreg.py +++ b/examples/plot_optim_OTreg.py @@ -28,7 +28,7 @@ arXiv preprint arXiv:1510.06567. import numpy as np import matplotlib.pylab as pl import ot - +import ot.plot ############################################################################## # Generate data diff --git a/examples/plot_otda_d2.py b/examples/plot_otda_d2.py index e53d7d6..70beb35 100644 --- a/examples/plot_otda_d2.py +++ b/examples/plot_otda_d2.py @@ -20,7 +20,7 @@ of what the transport methods are doing. import matplotlib.pylab as pl import ot - +import ot.plot ############################################################################## # generate data |