matplotlib.axes.Axes.sharex#

Axes.sharex(other)[source]#

Share the x-axis with other.

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