matplotlib.axes
matplotlib.axes.Axes.sharex
Axes.
sharex
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.
sharex=other