diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-05-30 09:58:51 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-05-30 09:58:51 +0200 |
commit | b5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 (patch) | |
tree | 965b01f0313ff5ac2c2013239adda48f767ba992 /examples/plot_gromov.py | |
parent | 90e42f32bdf0dd06667edaf172c51f4d4fce2c8b (diff) |
update examples and notebooks
Diffstat (limited to 'examples/plot_gromov.py')
-rw-r--r-- | examples/plot_gromov.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plot_gromov.py b/examples/plot_gromov.py index 5cd40f6..deb2f86 100644 --- a/examples/plot_gromov.py +++ b/examples/plot_gromov.py @@ -38,7 +38,7 @@ mu_t = np.array([4, 4, 4]) cov_t = np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]])
-xs = ot.datasets.get_2D_samples_gauss(n_samples, mu_s, cov_s)
+xs = ot.datasets.make_2D_samples_gauss(n_samples, mu_s, cov_s)
P = sp.linalg.sqrtm(cov_t)
xt = np.random.randn(n_samples, 3).dot(P) + mu_t
|