matplotlib.artist.kwdoc#

matplotlib.artist.kwdoc(artist)[源代码][源代码]#

检查一个 Artist 类(使用 ArtistInspector)并返回其可设置属性的信息及其当前值。

参数:
艺术家 : ArtistArtist 的可迭代对象艺术家或艺术家的可迭代对象
返回:
str

如果 rcParams["docstring.hardcopy"] (default: False) 为 False,则 artist 的可设置属性以纯文本形式显示;如果为 True,则以 rst 表格形式显示(适用于 Sphinx 使用)。