W3cubDocs

/Matplotlib 3.1

matplotlib.pyplot.sca

matplotlib.pyplot.sca(ax) [source]

Set the current Axes instance to ax.

The current Figure is updated to the parent of ax.

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