![]() |
VOOZH | about |
Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. The Artist class contains Abstract base class for objects that render into a FigureCanvas. All visible elements in a figure are subclasses of Artist.
The axes() property in artist module of matplotlib library is the Axes instance the artist resides in, or None
property:Artist.axes
Below examples illustrate the matplotlib.artist.Artist.axes() property in matplotlib:
Example 1:
Output:
👁 ImageExample 2: