matplotlib.pyplot.sca#

matplotlib.pyplot.sca(ax)[source]#

将当前 Axes 设置为 ax,将当前 Figure 设置为 ax 的父级。