summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_compute_emd.rst
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-06-11 12:01:27 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-06-11 12:01:27 +0200
commitef17fcd2d5e85b986ff21d8039483bdaf03e37da (patch)
tree25cf5915a26273b3e0726494ed4a1405ce1e2786 /docs/source/auto_examples/plot_compute_emd.rst
parent8046b8c424d7b80f520e212e2bf8de41cb624aab (diff)
parent530dc93a60e9b81fb8d1b44680deea77dacf660b (diff)
Merge branch 'master' into smooth_ot
Diffstat (limited to 'docs/source/auto_examples/plot_compute_emd.rst')
-rw-r--r--docs/source/auto_examples/plot_compute_emd.rst15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/source/auto_examples/plot_compute_emd.rst b/docs/source/auto_examples/plot_compute_emd.rst
index cdbc620..27bca2c 100644
--- a/docs/source/auto_examples/plot_compute_emd.rst
+++ b/docs/source/auto_examples/plot_compute_emd.rst
@@ -24,7 +24,7 @@ ground metrics and plot their values for diffeent distributions.
import numpy as np
import matplotlib.pylab as pl
import ot
- from ot.datasets import get_1D_gauss as gauss
+ from ot.datasets import make_1D_gauss as gauss
@@ -162,11 +162,13 @@ Compute Sinkhorn for the different losses
-**Total running time of the script:** ( 0 minutes 0.697 seconds)
+**Total running time of the script:** ( 0 minutes 0.446 seconds)
-.. container:: sphx-glr-footer
+.. only :: html
+
+ .. container:: sphx-glr-footer
.. container:: sphx-glr-download
@@ -179,6 +181,9 @@ Compute Sinkhorn for the different losses
:download:`Download Jupyter notebook: plot_compute_emd.ipynb <plot_compute_emd.ipynb>`
-.. rst-class:: sphx-glr-signature
- `Generated by Sphinx-Gallery <http://sphinx-gallery.readthedocs.io>`_
+.. only:: html
+
+ .. rst-class:: sphx-glr-signature
+
+ `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_