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

Skip to content

Commit 1fe36c3

Browse files
committed
Use new "show-inheritance" feature to show base classes in Sphinx autodoc.
svn path=/trunk/matplotlib/; revision=5582
1 parent 133adb1 commit 1fe36c3

14 files changed

Lines changed: 23 additions & 4 deletions

doc/api/artist_api.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,28 @@ matplotlib artists
88
.. automodule:: matplotlib.artist
99
:members:
1010
:undoc-members:
11+
:show-inheritance:
1112

1213
:mod:`matplotlib.lines`
1314
=============================
1415

1516
.. automodule:: matplotlib.lines
1617
:members:
1718
:undoc-members:
19+
:show-inheritance:
1820

1921
:mod:`matplotlib.patches`
2022
=============================
2123

2224
.. automodule:: matplotlib.patches
2325
:members:
2426
:undoc-members:
27+
:show-inheritance:
2528

2629
:mod:`matplotlib.text`
2730
=============================
2831

2932
.. automodule:: matplotlib.text
3033
:members:
3134
:undoc-members:
35+
:show-inheritance:

doc/api/axes_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ matplotlib axes
99
.. automodule:: matplotlib.axes
1010
:members:
1111
:undoc-members:
12+
:show-inheritance:

doc/api/axis_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ matplotlib axis
99
.. automodule:: matplotlib.axis
1010
:members:
1111
:undoc-members:
12+
:show-inheritance:

doc/api/backend_bases_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
.. automodule:: matplotlib.backend_bases
66
:members:
77
:undoc-members:
8+
:show-inheritance:

doc/api/backend_gtkagg_api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ X-session, which is not compatible with cron jobs.
77

88
.. .. automodule:: matplotlib.backends.backend_gtkagg
99
.. :members:
10-
.. :undoc-members:
10+
.. :undoc-members:
11+
.. :show-inheritance:

doc/api/backend_qt4agg_api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
.. automodule:: matplotlib.backends.backend_qt4agg
66
:members:
7-
:undoc-members:
7+
:undoc-members:
8+
:show-inheritance:
9+

doc/api/backend_wxagg_api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
.. automodule:: matplotlib.backends.backend_wxagg
66
:members:
7-
:undoc-members:
7+
:undoc-members:
8+
:show-inheritance:

doc/api/cbook_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ matplotlib cbook
99
.. automodule:: matplotlib.cbook
1010
:members:
1111
:undoc-members:
12+
:show-inheritance:

doc/api/cm_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ matplotlib cm
99
.. automodule:: matplotlib.cm
1010
:members:
1111
:undoc-members:
12+
:show-inheritance:

doc/api/collections_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ matplotlib collections
99
.. automodule:: matplotlib.collections
1010
:members:
1111
:undoc-members:
12+
:show-inheritance:

0 commit comments

Comments
 (0)