matplotlib.pyplot.sca matplotlib.pyplot.sca(ax) Set the current Axes to ax and the current Figure to the parent of ax. Назадmatplotlib.pyplot.savefig