summaryrefslogtreecommitdiff
path: root/examples/others/plot_WDA.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/others/plot_WDA.py')
-rw-r--r--examples/others/plot_WDA.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/others/plot_WDA.py b/examples/others/plot_WDA.py
index 009d902..bdfa57d 100644
--- a/examples/others/plot_WDA.py
+++ b/examples/others/plot_WDA.py
@@ -33,7 +33,7 @@ from ot.dr import wda, fda
n = 1000 # nb samples in source and target datasets
nz = 0.2
-np.random.RandomState(1)
+np.random.seed(1)
# generate circle dataset
t = np.random.rand(n) * 2 * np.pi