Skip to content

Commit 6a6927c

Browse files
committed
Add references to backend_{gtk3,gtk4,wx} in docs.
These modules are not actual backends but rather serve as bases for the corresponding agg/cairo backends, but adding them to the docs allows referring to them from elsewhere. Note that backend_qt is already listed; _backend_tk is currently private but we could consider making it (or a subset of it) public like the others (I already rely on it in mplcairo, for example).
1 parent 43c35e7 commit 6a6927c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

doc/api/backend_gtk3_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ dependency to building the docs.
88
.. redirect-from:: /api/backend_gtk3agg_api
99
.. redirect-from:: /api/backend_gtk3cairo_api
1010

11+
.. module:: matplotlib.backends.backend_gtk3
1112
.. module:: matplotlib.backends.backend_gtk3agg
1213
.. module:: matplotlib.backends.backend_gtk3cairo

doc/api/backend_gtk4_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ dependency to building the docs.
88
.. redirect-from:: /api/backend_gtk4agg_api
99
.. redirect-from:: /api/backend_gtk4cairo_api
1010

11+
.. module:: matplotlib.backends.backend_gtk4
1112
.. module:: matplotlib.backends.backend_gtk4agg
1213
.. module:: matplotlib.backends.backend_gtk4cairo

doc/api/backend_wx_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dependency to building the docs.
77

88
.. redirect-from:: /api/backend_wxagg_api
99

10+
.. module:: matplotlib.backends.backend_wx
1011
.. module:: matplotlib.backends.backend_wxagg
1112
.. module:: matplotlib.backends.backend_wxcairo

0 commit comments

Comments
 (0)