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

Skip to content

Commit e96b67c

Browse files
committed
Add initial support for inheritance diagrams.
svn path=/trunk/matplotlib/; revision=5601
1 parent beee1ba commit e96b67c

File tree

5 files changed

+420
-1
lines changed

5 files changed

+420
-1
lines changed

doc/api/artist_api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
matplotlib artists
33
*******************
44

5+
.. inheritance-diagram:: matplotlib.patches matplotlib.lines matplotlib.text
6+
57
:mod:`matplotlib.artist`
68
=============================
79

doc/api/collections_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
matplotlib collections
33
**********************
44

5+
.. inheritance-diagram:: matplotlib.collections
56

67
:mod:`matplotlib.collections`
78
=============================

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Add any Sphinx extension module names here, as strings. They can be extensions
2929
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3030
extensions = ['mathpng', 'math_symbol_table', 'sphinx.ext.autodoc',
31-
'only_directives', 'plot_directive']
31+
'only_directives', 'plot_directive', 'inheritance_diagram']
3232

3333
# Add any paths that contain templates here, relative to this directory.
3434
templates_path = ['_templates']

doc/devel/transformations.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Working with transformations
33
==============================
44

5+
.. inheritance-diagram:: matplotlib.transforms matplotlib.path
6+
57
:mod:`matplotlib.transforms`
68
=============================
79

0 commit comments

Comments
 (0)