summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_compute_emd.rst
diff options
context:
space:
mode:
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>`_