diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2021-11-16 13:07:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 13:07:38 +0100 |
commit | f4b363d865a79c07248176c1e36990e0cb6814ea (patch) | |
tree | 37f51d94a01ae495e28cec55a78e1c9404ac48d9 /examples/plot_Intro_OT.py | |
parent | 0c589912800b23609c730871c080ade0c807cdc1 (diff) |
[WIP] Fix gradient scaling bug in emd (#310)
* orrect gradient bug in emd2
* small comment in test
* deploy properly on tag release
* subplot fail
Diffstat (limited to 'examples/plot_Intro_OT.py')
-rw-r--r-- | examples/plot_Intro_OT.py | 2 |
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') |