On this page
matplotlib.axes.Axes.set_axes
Axes.set_axes(axes)- 
    
Set the
Axesinstance in which the artist resides, if any.This has been deprecated in mpl 1.5, please use the axes property. Will be removed in 1.7 or 2.0.
ACCEPTS: an
Axesinstance 
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
 http://matplotlib.org/2.0.2/api/_as_gen/matplotlib.axes.Axes.set_axes.html