matplotlib.figure.Figure.gca#
- Figure.gca()[source]#
Get the current Axes.
If there is currently no Axes on this Figure, a new one is createdusing
Figure.add_subplot
. (To test whether there is currently anAxes on a Figure, check whetherfigure.axes
is empty. To testwhether there is currently a Figure on the pyplot figure stack, checkwhetherpyplot.get_fignums()
is empty.)
On this page