From b5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Wed, 30 May 2018 09:58:51 +0200 Subject: update examples and notebooks --- docs/source/auto_examples/plot_compute_emd.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'docs/source/auto_examples/plot_compute_emd.rst') 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 ` -.. rst-class:: sphx-glr-signature - `Generated by Sphinx-Gallery `_ +.. only:: html + + .. rst-class:: sphx-glr-signature + + `Gallery generated by Sphinx-Gallery `_ -- cgit v1.2.3