Matplotlib.pyplot.axes() in Python
pyplot.axes is a function of the matplotlib library that adds axes to the current graph and makes it as current axes. Its output depends on the arguments used.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
Syntax: matplotlib.pyplot.axes(*args, **kwargs)
*args: It may include either None(nothing) or 4 tuples of float type
- none: It gives a new full window axes
- 4 tuples: It takes 4 tuples as list i.e [left bottom width height] and gives a window of these dimensions as axes.
**kwargs: There are several keyword arguments(kwargs) used as parameters to pyplot.axes(), most common include facecolor, gid, in_layout, label, position, xlim, ylim, etc.