Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86e3d83

Browse files
committed
Slightly reorganize api docs.
- Move _enums to _enums_api, consistently with other modules, and move it to the end (together with the other private module, _api). - Group the various GUI backends together based on the GUI toolkit. (It seems a bit silly to have so many pages which all refer to backends with no generated docs anyways, and even if we could easily generate docs for them on CI we would not want to document all 4 mostly indentical copies of qt{4,5}{agg,cairo} on 4 different pages.)
1 parent 8e3a91a commit 86e3d83

15 files changed

+91
-89
lines changed
File renamed without changes.

doc/api/backend_gtk3_api.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
**NOTE** These backends are not documented here, to avoid adding a dependency
2+
to building the docs.
3+
4+
:mod:`matplotlib.backends.backend_gtk3agg`
5+
==========================================
6+
7+
.. .. automodule:: matplotlib.backends.backend_gtk3agg
8+
.. :members:
9+
.. :undoc-members:
10+
.. :show-inheritance:
11+
12+
:mod:`matplotlib.backends.backend_gtk3cairo`
13+
============================================
14+
15+
.. .. automodule:: matplotlib.backends.backend_gtk3cairo
16+
.. :members:
17+
.. :undoc-members:
18+
.. :show-inheritance:

doc/api/backend_gtk3agg_api.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/api/backend_gtk3cairo_api.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/api/backend_qt4agg_api.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/backend_qt4cairo_api.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/backend_qt5agg_api.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/backend_qt5cairo_api.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/backend_qt_api.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
**NOTE** These backends are not documented here, to avoid adding a dependency
2+
to building the docs.
3+
4+
:mod:`matplotlib.backends.backend_qt4agg`
5+
=========================================
6+
7+
.. .. automodule:: matplotlib.backends.backend_qt4agg
8+
.. :members:
9+
.. :undoc-members:
10+
.. :show-inheritance:
11+
12+
:mod:`matplotlib.backends.backend_qt4cairo`
13+
===========================================
14+
15+
.. .. automodule:: matplotlib.backends.backend_qt4cairo
16+
.. :members:
17+
.. :undoc-members:
18+
.. :show-inheritance:
19+
20+
:mod:`matplotlib.backends.backend_qt5agg`
21+
=========================================
22+
23+
.. .. automodule:: matplotlib.backends.backend_qt5agg
24+
.. :members:
25+
.. :undoc-members:
26+
.. :show-inheritance:
27+
28+
:mod:`matplotlib.backends.backend_qt5cairo`
29+
===========================================
30+
31+
.. .. automodule:: matplotlib.backends.backend_qt5cairo
32+
.. :members:
33+
.. :undoc-members:
34+
.. :show-inheritance:

doc/api/backend_tk_api.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
:mod:`matplotlib.backends.backend_tkagg`
3+
========================================
4+
5+
.. automodule:: matplotlib.backends.backend_tkagg
6+
:members:
7+
:undoc-members:
8+
:show-inheritance:
9+
10+
:mod:`matplotlib.backends.backend_tkcairo`
11+
==========================================
12+
13+
.. automodule:: matplotlib.backends.backend_tkcairo
14+
:members:
15+
:undoc-members:
16+
:show-inheritance:

doc/api/backend_tkagg_api.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

doc/api/backend_wx_api.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
**NOTE** These backends are not documented here, to avoid adding a dependency
2+
to building the docs.
3+
4+
:mod:`matplotlib.backends.backend_wxagg`
5+
========================================
6+
7+
.. .. automodule:: matplotlib.backends.backend_wxagg
8+
.. :members:
9+
.. :undoc-members:
10+
.. :show-inheritance:
11+
12+
:mod:`matplotlib.backends.backend_wxcairo`
13+
==========================================
14+
15+
.. .. automodule:: matplotlib.backends.backend_wxcairo
16+
.. :members:
17+
.. :undoc-members:
18+
.. :show-inheritance:

doc/api/backend_wxagg_api.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

doc/api/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Matplotlib consists of the following submodules:
8989
dates_api.rst
9090
docstring_api.rst
9191
dviread.rst
92-
_enums.rst
9392
figure_api.rst
9493
font_manager_api.rst
9594
fontconfig_pattern_api.rst
@@ -128,6 +127,7 @@ Matplotlib consists of the following submodules:
128127
units_api.rst
129128
widgets_api.rst
130129
_api_api.rst
130+
_enums_api.rst
131131

132132
Toolkits
133133
--------

doc/api/index_backend_api.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@
99
backend_template_api.rst
1010
backend_agg_api.rst
1111
backend_cairo_api.rst
12-
backend_gtk3agg_api.rst
13-
backend_gtk3cairo_api.rst
12+
backend_gtk3_api.rst
1413
backend_nbagg_api.rst
1514
backend_pdf_api.rst
1615
backend_pgf_api.rst
1716
backend_ps_api.rst
18-
backend_qt4agg_api.rst
19-
backend_qt4cairo_api.rst
20-
backend_qt5agg_api.rst
21-
backend_qt5cairo_api.rst
17+
backend_qt_api.rst
2218
backend_svg_api.rst
23-
backend_tkagg_api.rst
19+
backend_tk_api.rst
2420
backend_webagg_api.rst
25-
backend_wxagg_api.rst
21+
backend_wx_api.rst

0 commit comments

Comments
 (0)