diff options
Diffstat (limited to 'examples/plot_OT_1D_smooth.py')
-rw-r--r-- | examples/plot_OT_1D_smooth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plot_OT_1D_smooth.py b/examples/plot_OT_1D_smooth.py index ff51b8a..626938c 100644 --- a/examples/plot_OT_1D_smooth.py +++ b/examples/plot_OT_1D_smooth.py @@ -94,6 +94,6 @@ max_nz = 2 # two non-zero entries are permitted per column of the OT plan Gsc = ot.smooth.smooth_ot_dual( a, b, M, lambd, reg_type='sparsity_constrained', max_nz=max_nz) pl.figure(5, figsize=(5, 5)) -ot.plot.plot1D_mat(a, b, Gsc, 'Sparsity contrained OT matrix; k=2.') +ot.plot.plot1D_mat(a, b, Gsc, 'Sparsity constrained OT matrix; k=2.') pl.show() |