matplotlib.axes.Axes.sharey

Axes.sharey(other)

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.

Examples using matplotlib.axes.Axes.sharey