From b5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Wed, 30 May 2018 09:58:51 +0200 Subject: update examples and notebooks --- examples/plot_otda_classes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/plot_otda_classes.py') diff --git a/examples/plot_otda_classes.py b/examples/plot_otda_classes.py index b14c11a..c311fbd 100644 --- a/examples/plot_otda_classes.py +++ b/examples/plot_otda_classes.py @@ -25,8 +25,8 @@ import ot n_source_samples = 150 n_target_samples = 150 -Xs, ys = ot.datasets.get_data_classif('3gauss', n_source_samples) -Xt, yt = ot.datasets.get_data_classif('3gauss2', n_target_samples) +Xs, ys = ot.datasets.make_data_classif('3gauss', n_source_samples) +Xt, yt = ot.datasets.make_data_classif('3gauss2', n_target_samples) ############################################################################## @@ -82,7 +82,7 @@ pl.tight_layout() # Fig 2 : plot optimal couplings and transported samples # ------------------------------------------------------ -param_img = {'interpolation': 'nearest', 'cmap': 'spectral'} +param_img = {'interpolation': 'nearest'} pl.figure(2, figsize=(15, 8)) pl.subplot(2, 4, 1) -- cgit v1.2.3