Skip to content

Commit e2733d3

Browse files
committed
cleanup pyflakes issue #23
1 parent 0a7ce08 commit e2733d3

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

examples/demo_OTDA_classes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
demo of Optimal transport for domain adaptation
44
"""
55

6-
import numpy as np
76
import matplotlib.pylab as pl
87
import ot
98

examples/demo_barycenter_1D.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
import matplotlib.pylab as pl
1010
import ot
1111

12-
from mpl_toolkits.mplot3d import Axes3D
1312
from matplotlib.collections import PolyCollection
14-
from matplotlib.colors import colorConverter
13+
1514

1615
#%% parameters
1716

ot/optim.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import numpy as np
77
from scipy.optimize.linesearch import scalar_search_armijo
88
from .lp import emd
9-
from .bregman import sinkhorn_stabilized
109
from .bregman import sinkhorn
1110

1211
# The corresponding scipy function does not work for matrices
@@ -261,7 +260,7 @@ def gcg(a,b,M,reg1,reg2,f,df,G0=None,numItermax = 10,numInnerItermax = 200,stopT
261260
262261
See Also
263262
--------
264-
ot.optim.cg : conditional gradient
263+
ot.optim.cg : conditional gradient
265264
266265
"""
267266

0 commit comments

Comments
 (0)