summaryrefslogtreecommitdiff
path: root/examples/plot_Intro_OT.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plot_Intro_OT.py')
-rw-r--r--examples/plot_Intro_OT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plot_Intro_OT.py b/examples/plot_Intro_OT.py
index 2e2c6fd..f282950 100644
--- a/examples/plot_Intro_OT.py
+++ b/examples/plot_Intro_OT.py
@@ -327,7 +327,7 @@ for k in range(len(reg_parameter)):
time_sinkhorn_reg[k] = time.time() - start
if k % 4 == 0 and k > 0: # we only plot a few
- ax = pl.subplot(1, 5, k / 4)
+ ax = pl.subplot(1, 5, k // 4)
im = pl.imshow(ot_sinkhorn, vmin=0, vmax=max_ot)
pl.title('reg={0:.2g}'.format(reg_parameter[k]))
pl.xlabel('Cafés')