diff options
Diffstat (limited to 'examples/plot_OT_1D.py')
-rw-r--r-- | examples/plot_OT_1D.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/plot_OT_1D.py b/examples/plot_OT_1D.py index a63f29a..b6ffa5f 100644 --- a/examples/plot_OT_1D.py +++ b/examples/plot_OT_1D.py @@ -4,7 +4,7 @@ 1D optimal transport ==================== -This example illustrates the computation of EMD and Sinkhorn transport plans +This example illustrates the computation of EMD and Sinkhorn transport plans and their visualization. """ @@ -20,7 +20,8 @@ from ot.datasets import get_1D_gauss as gauss ############################################################################## # Generate data -############################################################################## +# ############# + #%% parameters @@ -40,7 +41,7 @@ M /= M.max() ############################################################################## # Plot distributions and loss matrix -############################################################################## +################################### #%% plot the distributions |