diff options
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) |