diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:55:32 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-09-01 17:55:32 +0200 |
commit | 8ea3504c3bfe9c9440982f8ad0d172a240d54aff (patch) | |
tree | 7e3241cf4d81869610feea53f165407767614846 /docs/source/auto_examples/plot_OT_1D.rst | |
parent | fd76b98726b8f22606d93bb24dc539967472f4a0 (diff) |
good notebook format generated by sphinx gallery
Diffstat (limited to 'docs/source/auto_examples/plot_OT_1D.rst')
-rw-r--r-- | docs/source/auto_examples/plot_OT_1D.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/source/auto_examples/plot_OT_1D.rst b/docs/source/auto_examples/plot_OT_1D.rst index 32a88e7..b91916e 100644 --- a/docs/source/auto_examples/plot_OT_1D.rst +++ b/docs/source/auto_examples/plot_OT_1D.rst @@ -63,7 +63,7 @@ Generate data Plot distributions and loss matrix -################################## +---------------------------------- @@ -102,13 +102,14 @@ Plot distributions and loss matrix Solve EMD -############################################################################# +--------- .. code-block:: python + #%% EMD G0 = ot.emd(a, b, M) @@ -126,13 +127,14 @@ Solve EMD Solve Sinkhorn -############################################################################# +-------------- .. code-block:: python + #%% Sinkhorn lambd = 1e-3 @@ -169,7 +171,7 @@ Solve Sinkhorn 110|1.527180e-10| -**Total running time of the script:** ( 0 minutes 0.754 seconds) +**Total running time of the script:** ( 0 minutes 0.748 seconds) |