From ef1793569d38c7b67aa0b0c2caf081373f27bef7 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 21 Oct 2021 09:23:47 +0200 Subject: [PATCH] Document webagg in docs. Our docs build already depends on tornado (via ipywidgets, to build the nbagg docs). --- doc/api/backend_webagg_api.rst | 9 ++++----- doc/conf.py | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/backend_webagg_api.rst b/doc/api/backend_webagg_api.rst index 24839a545abd..a4089473c903 100644 --- a/doc/api/backend_webagg_api.rst +++ b/doc/api/backend_webagg_api.rst @@ -1,8 +1,7 @@ :mod:`.backend_webagg` ====================== -.. note:: - The WebAgg backend is not documented here, in order to avoid adding Tornado - to the doc build requirements. - -.. module:: matplotlib.backends.backend_webagg +.. automodule:: matplotlib.backends.backend_webagg + :members: + :undoc-members: + :show-inheritance: diff --git a/doc/conf.py b/doc/conf.py index 4c592bf8fe01..68abc3aefc05 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -161,6 +161,7 @@ def _check_dependencies(): 'pytest': ('https://pytest.org/en/stable/', None), 'python': ('https://docs.python.org/3/', None), 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None), + 'tornado': ('https://www.tornadoweb.org/en/stable/', None), }