matplotlib.artist.kwdoc#
- matplotlib.artist.kwdoc(artist)[源代码][源代码]#
检查一个
Artist
类(使用ArtistInspector
)并返回其可设置属性的信息及其当前值。- 参数:
- 返回:
- str
如果
rcParams["docstring.hardcopy"]
(default:False
) 为 False,则 artist 的可设置属性以纯文本形式显示;如果为 True,则以 rst 表格形式显示(适用于 Sphinx 使用)。