matplotlib.pyplot.axes(arg=None, **kwargs)[source]¶Add an axes to the current figure and make it the current axes.
| Parameters: | arg : None or 4-tuple or Axes
|
|||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: | axes : Axes
|
|||||||||||||||||||||
| Other Parameters: | **kwargs :
|
Examples
Creating a new full window axes:
>>> plt.axes()
Creating a new axes with specified dimensions and some kwargs:
>>> plt.axes((left, bottom, width, height), facecolor='w')
matplotlib.pyplot.axes¶