diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2022-01-17 13:45:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 13:45:58 +0100 |
commit | 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b (patch) | |
tree | 78681c617ca85f9309a99525d0903787436fe047 | |
parent | 3fff90eb437dce30fd83012f4c0e24f3fca041b2 (diff) |
[MRG] Default pygment color for doc (#335)
* back to default pygment
* add images back
* move static images and make it work
-rw-r--r-- | docs/source/_static/images/bak.png | bin | 0 -> 304669 bytes | |||
-rw-r--r-- | docs/source/_static/images/sinkhorn.png | bin | 0 -> 37204 bytes | |||
-rw-r--r-- | docs/source/conf.py | 2 | ||||
-rw-r--r-- | examples/plot_Intro_OT.py | 4 |
4 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/_static/images/bak.png b/docs/source/_static/images/bak.png Binary files differnew file mode 100644 index 0000000..25e7e8e --- /dev/null +++ b/docs/source/_static/images/bak.png diff --git a/docs/source/_static/images/sinkhorn.png b/docs/source/_static/images/sinkhorn.png Binary files differnew file mode 100644 index 0000000..e003e13 --- /dev/null +++ b/docs/source/_static/images/sinkhorn.png 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 |