summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_OT_1D.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_OT_1D.rst')
-rw-r--r--docs/source/auto_examples/plot_OT_1D.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/source/auto_examples/plot_OT_1D.rst b/docs/source/auto_examples/plot_OT_1D.rst
index 975a923..5e4f73e 100644
--- a/docs/source/auto_examples/plot_OT_1D.rst
+++ b/docs/source/auto_examples/plot_OT_1D.rst
@@ -23,6 +23,7 @@ and their visualization.
import numpy as np
import matplotlib.pylab as pl
import ot
+ import ot.plot
from ot.datasets import get_1D_gauss as gauss
@@ -171,11 +172,13 @@ Solve Sinkhorn
110|1.527180e-10|
-**Total running time of the script:** ( 0 minutes 1.198 seconds)
+**Total running time of the script:** ( 0 minutes 1.061 seconds)
-.. container:: sphx-glr-footer
+.. only :: html
+
+ .. container:: sphx-glr-footer
.. container:: sphx-glr-download
@@ -188,6 +191,9 @@ Solve Sinkhorn
:download:`Download Jupyter notebook: plot_OT_1D.ipynb <plot_OT_1D.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>`_