summaryrefslogtreecommitdiff
path: root/examples/da/plot_otda_color_images.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/da/plot_otda_color_images.py')
-rw-r--r--examples/da/plot_otda_color_images.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/da/plot_otda_color_images.py b/examples/da/plot_otda_color_images.py
index bca7350..805d0b0 100644
--- a/examples/da/plot_otda_color_images.py
+++ b/examples/da/plot_otda_color_images.py
@@ -20,9 +20,10 @@ SIAM Journal on Imaging Sciences, 7(3), 1853-1882.
import numpy as np
from scipy import ndimage
import matplotlib.pylab as pl
-
import ot
+np.random.seed(42)
+
def im2mat(I):
"""Converts and image to matrix (one pixel per line)"""