summaryrefslogtreecommitdiff
path: root/examples/plot_optim_OTreg.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-05-30 09:58:51 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-05-30 09:58:51 +0200
commitb5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 (patch)
tree965b01f0313ff5ac2c2013239adda48f767ba992 /examples/plot_optim_OTreg.py
parent90e42f32bdf0dd06667edaf172c51f4d4fce2c8b (diff)
update examples and notebooks
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r--examples/plot_optim_OTreg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py
index 92df016..2c58def 100644
--- a/examples/plot_optim_OTreg.py
+++ b/examples/plot_optim_OTreg.py
@@ -42,8 +42,8 @@ n = 100 # nb bins
x = np.arange(n, dtype=np.float64)
# Gaussian distributions
-a = ot.datasets.get_1D_gauss(n, m=20, s=5) # m= mean, s= std
-b = ot.datasets.get_1D_gauss(n, m=60, s=10)
+a = ot.datasets.make_1D_gauss(n, m=20, s=5) # m= mean, s= std
+b = ot.datasets.make_1D_gauss(n, m=60, s=10)
# loss matrix
M = ot.dist(x.reshape((n, 1)), x.reshape((n, 1)))