Apply to work with matplotlib for GSOC! Take a look at our ideas list and learn how to apply here .
The 2019 SciPy John Hunter Excellence in Plotting Contest is accepting submissions until June 8th!
Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.artist.kwdoc

matplotlib.artist.kwdoc(artist)[source]

Inspect an Artist class and return information about its settable properties and their current values.

It use the class ArtistInspector.

Parameters:
artist : Artist or an iterable of Artists
Returns:
string

Returns a string with a list or rst table with the settable properties of the artist. The formating depends on the value of rcParams["docstring.hardcopy"]. False result in a list that is intended for easy reading as a docstring and True result in a rst table intended for rendering the documentation with sphinx.