From 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b Mon Sep 17 00:00:00 2001 From: Rémi Flamary Date: Mon, 17 Jan 2022 13:45:58 +0100 Subject: [MRG] Default pygment color for doc (#335) * back to default pygment * add images back * move static images and make it work --- docs/source/_static/images/bak.png | Bin 0 -> 304669 bytes docs/source/_static/images/sinkhorn.png | Bin 0 -> 37204 bytes docs/source/conf.py | 2 +- examples/plot_Intro_OT.py | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 docs/source/_static/images/bak.png create mode 100644 docs/source/_static/images/sinkhorn.png diff --git a/docs/source/_static/images/bak.png b/docs/source/_static/images/bak.png new file mode 100644 index 0000000..25e7e8e Binary files /dev/null and b/docs/source/_static/images/bak.png differ diff --git a/docs/source/_static/images/sinkhorn.png b/docs/source/_static/images/sinkhorn.png new file mode 100644 index 0000000..e003e13 Binary files /dev/null and b/docs/source/_static/images/sinkhorn.png differ diff --git a/docs/source/conf.py b/docs/source/conf.py index 163851f..d1b8426 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -141,7 +141,7 @@ exclude_patterns = [] #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] diff --git a/examples/plot_Intro_OT.py b/examples/plot_Intro_OT.py index f282950..219aa51 100644 --- a/examples/plot_Intro_OT.py +++ b/examples/plot_Intro_OT.py @@ -58,7 +58,7 @@ help(ot.dist) # number of Bakeries to Cafés in a City (in this case Manhattan). We did a # quick google map search in Manhattan for bakeries and Cafés: # -# .. image:: images/bak.png +# .. image:: ../_static/images/bak.png # :align: center # :alt: bakery-cafe-manhattan # :width: 600px @@ -233,7 +233,7 @@ print('Wasserstein loss (EMD) = {0:.2f}'.format(W)) # The Sinkhorn algorithm is very simple to code. You can implement it directly # using the following pseudo-code # -# .. image:: images/sinkhorn.png +# .. image:: ../_static/images/sinkhorn.png # :align: center # :alt: Sinkhorn algorithm # :width: 440px -- cgit v1.2.3