Skip to content

Commit 94a3868

Browse files
committed
subplot fail
1 parent d81e43c commit 94a3868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/plot_Intro_OT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
time_sinkhorn_reg[k] = time.time() - start
328328

329329
if k % 4 == 0 and k > 0: # we only plot a few
330-
ax = pl.subplot(1, 5, k / 4)
330+
ax = pl.subplot(1, 5, k // 4)
331331
im = pl.imshow(ot_sinkhorn, vmin=0, vmax=max_ot)
332332
pl.title('reg={0:.2g}'.format(reg_parameter[k]))
333333
pl.xlabel('Cafés')

0 commit comments

Comments
 (0)