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.