summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_gromov.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_gromov.py')
-rw-r--r--docs/source/auto_examples/plot_gromov.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/auto_examples/plot_gromov.py b/docs/source/auto_examples/plot_gromov.py
index 5cd40f6..deb2f86 100644
--- a/docs/source/auto_examples/plot_gromov.py
+++ b/docs/source/auto_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