matplotlib.artist.kwdoc

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

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

参数:
艺术家Artist 或者是 Artist 的S艺术家或一个名副其实的艺术家
返回:
STR

的可设置属性 artist ,如果为纯文本 rcParams["docstring.hardcopy"] (default: False) 为False,如果为True,则作为rst表(用于 Sphinx )。