pltgca
pltgca commonly refers to the matplotlib.pyplot function gca (get current axes), often invoked as plt.gca() when using the pyplot interface of the Matplotlib plotting library in Python. The function returns the current Axes instance for the current Figure; if no Axes exists it creates one and attaches it to the current Figure. Keyword arguments supplied to gca are forwarded to the underlying figure.add_subplot call, allowing specification of properties such as projection (for example projection='3d').
Typical use is to obtain a handle to the axes for further customization: for example, ax = plt.gca()
The function is part of pyplot’s state-machine interface and is available across Matplotlib releases; behavior can