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

Skip to content

Commit 4afe03b

Browse files
authored
Merge pull request #19679 from timhoffm/doc-patch-inheritance
Add inheritance diagram to patches docs
2 parents e429603 + d673646 commit 4afe03b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/api/patches_api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
``matplotlib.patches``
33
**********************
44

5-
.. currentmodule:: matplotlib.patches
5+
6+
.. inheritance-diagram:: matplotlib.patches
7+
:parts: 1
68

79
.. automodule:: matplotlib.patches
810
:no-members:

lib/matplotlib/patches.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
r"""
2+
Patches are `.Artist`\s with a face color and an edge color.
3+
"""
4+
15
import contextlib
26
import functools
37
import inspect

0 commit comments

Comments
 (0)