diff --git a/doc/catalog.json b/doc/catalog.json deleted file mode 100644 index 98f30b8acdaa0dc0be5153dffd07775e6ed54faf..0000000000000000000000000000000000000000 --- a/doc/catalog.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "numpy": { - "version": { - "latest": "https://numpy.org/doc/stable/" - }, - "sources": { - "readthedocs": "numpy" - } - }, - "matplotlib": { - "version": { - "latest": "https://matplotlib.org/stable/" - }, - "sources": { - "readthedocs": "matplotlib" - } - }, - "PIL": { - "version": { - "latest": "https://pillow.readthedocs.io/en/latest/" - }, - "sources": { - "readthedocs": "pillow" - } - } -} diff --git a/doc/conf.py b/doc/conf.py index 7472718a7aaa4ca2bb0e71bd7616946eab639d85..6b6ac720848c4b86fa9ecc4ca52e35edd5c9d141 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -110,6 +110,6 @@ auto_intersphinx_packages = [ ("python", "3"), "numpy", "matplotlib", - "PIL", + "pillow", ] auto_intersphinx_catalog = "catalog.json" diff --git a/src/bob/io/image.py b/src/bob/io/image.py index 1b76ecada9479a845c3f2797bc2fa7d79224e1ab..9eeecc3c81a812de7a665ee7fa11587cf95b8ee7 100644 --- a/src/bob/io/image.py +++ b/src/bob/io/image.py @@ -57,8 +57,8 @@ def bob_to_pillow(img): Returns ------- - PIL.Image.Image - An object of pillow.Image. + pillow.Image.Image + An Image object of pillow. """ # first convert to matplotlib format img = to_matplotlib(img) @@ -78,7 +78,7 @@ def pillow_to_bob(img): Parameters ---------- - img: PIL.Image.Image + img: pillow.Image.Image A Pillow Image Returns