@@ -42,7 +42,7 @@ def minmax(I):
4242
4343##############################################################################
4444# Generate data
45- ##############################################################################
45+ # -------------
4646
4747# Loading images
4848I1 = ndimage .imread ('../data/ocean_day.jpg' ).astype (np .float64 ) / 256
@@ -62,7 +62,7 @@ def minmax(I):
6262
6363##############################################################################
6464# Plot original image
65- ##############################################################################
65+ # -------------------
6666
6767pl .figure (1 , figsize = (6.4 , 3 ))
6868
@@ -79,7 +79,7 @@ def minmax(I):
7979
8080##############################################################################
8181# Scatter plot of colors
82- ##############################################################################
82+ # ----------------------
8383
8484pl .figure (2 , figsize = (6.4 , 3 ))
8585
@@ -101,7 +101,7 @@ def minmax(I):
101101
102102##############################################################################
103103# Instantiate the different transport algorithms and fit them
104- ##############################################################################
104+ # -----------------------------------------------------------
105105
106106# EMDTransport
107107ot_emd = ot .da .EMDTransport ()
@@ -127,7 +127,7 @@ def minmax(I):
127127
128128##############################################################################
129129# Plot new images
130- ##############################################################################
130+ # ---------------
131131
132132pl .figure (3 , figsize = (8 , 4 ))
133133
0 commit comments