matplotlib / 3.7 / _as_gen / matplotlib.pyplot.sca.html

matplotlib.pyplot.sca

matplotlib.pyplot.sca(ax)[source]

Set the current Axes to ax and the current Figure to the parent of ax.

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.sca.html