summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-12-02 10:20:12 +0100
committerRémi Flamary <remi.flamary@gmail.com>2016-12-02 10:20:12 +0100
commite2733d354c87bdc3cbc58a5e3e838e688fafe627 (patch)
treea63004b6be7dcf434ae5c353e063e2b2c9b8f30d /examples
parent0a7ce083728568d86554c7b3541ea72ff1d758e1 (diff)
cleanup pyflakes issue #23
Diffstat (limited to 'examples')
-rw-r--r--examples/demo_OTDA_classes.py1
-rw-r--r--examples/demo_barycenter_1D.py3
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/demo_OTDA_classes.py b/examples/demo_OTDA_classes.py
index 4111ace..b2da7de 100644
--- a/examples/demo_OTDA_classes.py
+++ b/examples/demo_OTDA_classes.py
@@ -3,7 +3,6 @@
demo of Optimal transport for domain adaptation
"""
-import numpy as np
import matplotlib.pylab as pl
import ot
diff --git a/examples/demo_barycenter_1D.py b/examples/demo_barycenter_1D.py
index 7e478c2..297b872 100644
--- a/examples/demo_barycenter_1D.py
+++ b/examples/demo_barycenter_1D.py
@@ -9,9 +9,8 @@ import numpy as np
import matplotlib.pylab as pl
import ot
-from mpl_toolkits.mplot3d import Axes3D
from matplotlib.collections import PolyCollection
-from matplotlib.colors import colorConverter
+
#%% parameters