From 052ccadc5023ec500dc10477821bf0267426aa4f Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 1 Sep 2017 16:28:35 +0200 Subject: pep8 --- examples/plot_OT_1D.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/plot_OT_1D.py') 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 -- cgit v1.2.3