Commit 7c57cffc authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[doc] fixed stuff for plots

parent 80145921
Pipeline #3589 passed with stages
in 23 minutes and 6 seconds
......@@ -14,6 +14,7 @@ needs_sphinx = '1.3'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
sys.path.append(os.path.abspath('sphinxext'))
extensions = [
'sphinx.ext.todo',
'sphinx.ext.coverage',
......@@ -25,6 +26,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'matplotlib.sphinxext.plot_directive',
]
import sphinx
......@@ -237,4 +239,4 @@ def member_function_test(app, what, name, obj, skip, options):
return False
def setup(app):
app.connect('autodoc-skip-member', member_function_test)
\ No newline at end of file
app.connect('autodoc-skip-member', member_function_test)
......@@ -43,7 +43,7 @@ Hence, to detect skin pixels inside a face image, you should do the following:
>>> skin_mask = skin_filter.get_skin_mask(face_image, 0.5)
.. plot:: plot/detect_skin_pixels.py
.. plot:: pyplots/detect_skin_pixels.py
:include-source: False
Picture taken from https://stocksnap.io/photo/W7GS1022QN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment