W3cubDocs

/Matplotlib 3.5

matplotlib.axes.Axes.sharey

Axes.sharey(other)[source]

Share the y-axis with other.

This is equivalent to passing sharey=other when constructing the axes, and cannot be used if the y-axis is already being shared with another Axes.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.axes.Axes.sharey.html